开发者

Upload text file on FTP server using iPhone

I have implemented code for uploading images a开发者_C百科nd directory to FTP using iPhone.

But I need to upload text file on FTP using iPhone. Can you please send me code for that.


Here's an example:

http://modmyi.com/forums/iphone-ipod-touch-sdk-development-discussion/328541-ftp-usage-iphone-applications.html

It uploads one byte at a time, so be sure your strings are ASCII encoded if you are expecting ASCII.


Here is a script to upload entire directory including text, binary etc. files. It creates subdirectories as needed.

http://www.biterscripting.com/SS_FTPUpload.html

Start with that script and change it to suit your particular situation.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜