1

Possible Duplicate:
Uploading and downloading via ftp with iPhone SDK

I want to implement one application in which i want to connect ftp server from the iphone by programming.Please help me for that.

Edit: I am using below code http://developer.apple.com/iphone/library/samplecode/SimpleFTPSample/

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.

Community
  • 1
  • 1
MD.
  • 1,131
  • 4
  • 18
  • 28
  • http://stackoverflow.com/questions/128378/upload-photo-to-arbitrary-ftp-with-iphone-app duplicate question – Kenny Winker Jan 04 '10 at 08:08
  • As well as http://stackoverflow.com/questions/1266176/upload-file-to-ftp-server-on-iphone , http://stackoverflow.com/questions/1354012/uploading-and-downloading-via-ftp-with-iphone-sdk , although the sample code Adrian points to is new, and is the best resource for this. – Brad Larson Jan 04 '10 at 14:04

3 Answers3

4

There is a sample provided by Apple in the SDK documentation that does exactly that:

http://developer.apple.com/iphone/library/samplecode/SimpleFTPSample/

Adrian Kosmaczewski
  • 7,956
  • 4
  • 33
  • 59
0

You can find a lot of information by googling "ftp protocol", but you you can here the RFC #114 which could be seen as the official specification of the protocol.

Community
  • 1
  • 1
cedrou
  • 2,780
  • 1
  • 18
  • 23
0

RFC 959 is the original standard for the FTP protocol. You can get a copy of this from this IETF Website. You can also download a free or free for personal use ftp server like filezilla or sysax ftp server to use for testing your iphone program. Hope this helps.

Haary
  • 1