I have implemented code for uploading images and directory to FTP using iPhone.
But I need to upload text file on FTP using iPhone. Can you please send me code for that.
I have implemented code for uploading images and 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:
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.