One of the most frequently asked features, when I develop iphone apps for my customers, is the download of files from a ftp server.

Really I can do a full protocol implementation, but it's to expensive. Instead, while I was surfing the web I found sample instructions to download a file from a ftp server.

 

I haven't already tried this function with large file but it should work fine.


I's really simple, and it is very configurable, too.



This function, simply download a file and put its content into data (NSData*), then it move data into a NSString and last it prints the string.


Gg1