iOS - 通用流错误(FTP) [英] iOS - General Stream Error (FTP)

查看:162
本文介绍了iOS - 通用流错误(FTP)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用不同的库(如 simpleSampleFTP FTPManager )上传文件到FTP服务器,但我收到一般流错误,我的凭据和端口是正确的。

当我尝试从代理本地网络上传文件时,我可以将文件上传到同一台服务器,但当代理本地网络外部出现一般流错误时。



我检查FTP正在创建的文件的名称和扩展名是否正确,但它仍然是0字节,然后超时后我收到错误一般流错误。



有没有人遇到同样的问题?我怎样才能解决这个问题的任何想法?

解决方案

在我的情况下,问题发生,因为FTP服务器正在使用外部IP地址。我已通过将手动命令传递给FTP服务器来解决此问题。


I am trying to upload a file to FTP server using different libraries like simpleSampleFTP and FTPManager but i am getting "general stream error", my credentials and port are right.

When i try to upload file from proxy local network i can upload file to same server but when outside the proxy local network i get general stream error.

I check on FTP the file is being created the name and extension is right but it remains 0 bytes and then after time out i get error "general stream error".

Have anybody faced the same problem? How can i solve this issue any ideas?

解决方案

In my case the problem occurred because FTP server is using External IP Address. I have solved this problem by passing manual commands to FTP Server.

这篇关于iOS - 通用流错误(FTP)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆