English 中文(简体)
我无法FTP到FTP服务器[已关闭]
原标题:I am not able to FTP to a FTP server [closed]
  • 时间:2010-10-20 08:34:17
  •  标签:
  • iphone
  • ftp
Closed. This question needs debugging details. It is not currently accepting answers.

编辑问题以包括所需行为、特定问题或错误,以及再现问题所需的最短代码。这将帮助其他人回答这个问题。

Closed 8 years ago.

我无法将文件从Iphone设备(带wifi)FTP到远程FTP服务器。大多数时候,我会收到“流打开错误”,而很少的时候,文件会收到FTPed。但在检查FTP服务器时,上传的文件为空,即文件大小为0字节。但是上传的文件有一定的大小。

Note: i use active mode to FTP and FTP server to accept active connections so, where is the problem? Is there a problem with FTP server? Or is there a problem from the sender i.e is there a problem with the source code?

最佳回答

也许将传输模式从主动更改为被动会有所帮助。FTP使用两种连接——控制连接(用于发送命令)和数据连接(用于上传/下载/目录列表)。

在活动模式下,FTP服务器打开与FTP客户端的数据连接。它被大多数防火墙阻止。在被动模式下,FTP客户端打开与服务器的数据连接。有关详细信息,请参阅我们的关于FTP主动和被动模式差异的网页

问题回答

暂无回答




相关问题
What is the simplest way to create my own FTP server?

What is the simplest way to create my own FTP server in C#? Some of the folders will be virtual folders. The authentication should be from a SQL Server database, which includes tables of the ASP.NET ...

FTP In/Out Folder Name Best Practices

What best practices (if any) do you adhere to regarding setting up outgoing and incoming folders for your FTP clients? We typically use "outgoing" and "incoming", but no matter how you phrase the ...

Using TCPClient with RAW FTP to retrieve file

I get the following message back when trying to retrieve a file using TCPClient and RAW FTP: 425 Failed to establish connection. I connect using : using (TcpClient client = new TcpClient("...

Retrieving a List of Files from an FTP server in C#

I m trying to retrieve a list of files from an FTP server, but I m getting some weird non-ASCII responses. Here is the code that I am using: public string[] getFileList(string mask) { if(!...

FTP error on Quit command

I m using a ftp library that causes an error sending the quit command. It seems that the character before QUIT is not recognized. I took a look at the code but didn t find anything. 500 ?QUIT : ...

Passive FTP Timeout while using WinINet

I m trying to ftp a file using passive ftp but I get a timeout (12002) when the put command is called. I m able to use passive ftp with other ftp sites but not this new one. I ve tried this using ...

热门标签