ghiboz
ghiboz

Reputation: 8003

upload file into iphone app via ftp

I wish upload a file into my iphone app via ftp ( wifi connection on iphone) like some program as airsharing or iFiles..

which are the first steps to do this??

thanks in advance

Upvotes: 0

Views: 781

Answers (2)

Tom S
Tom S

Reputation: 624

The iPhone SDK does not have a built-in FTP server, so you will have to implement a simple FTP server yourself.

First, get an overview of the FTP protocol on Wikipedia. Read the actual RFCs, which document the protocol, in the 'Further Reading' section. Some of the external links are helpful for understanding the flow of an FTP transfer.

Next, brush up on iPhone socket communication. The Apple documentation for CFSocket is a good starting point. Consider using the AsyncSocket library to ease implementation.

Upvotes: 1

Yann Ramin
Yann Ramin

Reputation: 33177

You would begin by creating an FTP server in your application.

Upvotes: 0

Related Questions