EllisLab text mark
Advanced Search
     
FTP Class
Posted: 04 August 2007 03:15 PM   [ Ignore ]
Joined: 2007-07-21
49 posts

Does anyone know why the FTP class doesn’t support DOWNLOADING from the server? I checked the documentation for this class at:

http://ellislab.com/codeigniter/user-guide/libraries/ftp.html

...and didn’t find anything for downloading (only uploading). What are my options if I want to download from the server onto a remote location?

Thanks!
Omed

 Signature 

Omed Habib

 
Posted: 04 August 2007 04:20 PM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2007-06-11
2985 posts

I answered your email request but for others users looking for this in the future, try my Improved FTP Class

If you dont want/need all the other changes (such as the SSL support or configuration groups) just copy the function download() bit into a MY_FTP extention class.

 Signature 

————————
Blog | Twitter | GitHub | BitBucket
————————-
PyroCMS - open source modular CMS built with CodeIgniter
PancakeApp - Simple, hosted invoicing/w project management