如何与FTP服务器连接? [英] How to connect with FTP server?
问题描述
可能重复:
使用iPhone SDK通过ftp进行上传和下载
Possible Duplicate:
Uploading and downloading via ftp with iPhone SDK
我想实现一个应用程序,在该应用程序中我想通过编程从iPhone连接ftp服务器.为此,请帮帮我.
I want to implement one application in which i want to connect ftp server from the iphone by programming.Please help me for that.
我正在使用下面的代码 http://developer.apple.com/iphone/library/samplecode/SimpleFTPSample/
I am using below code http://developer.apple.com/iphone/library/samplecode/SimpleFTPSample/
它工作正常.但是当我当时使用ftp服务器url时,它会出现开放流错误.您能向我解释什么问题.
Its working fine.But when i am using my ftp server url at that time it gives open stream error.What is the problem can u explain me.
推荐答案
Apple在SDK文档中提供了一个示例,用于精确地做到这一点:
There is a sample provided by Apple in the SDK documentation that does exactly that:
http://developer.apple.com/iphone/library/samplecode/SimpleFTPSample/
这篇关于如何与FTP服务器连接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!