CodeIgniter Forums
Quick question about uploading - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Quick question about uploading (/showthread.php?tid=14698)



Quick question about uploading - El Forum - 01-12-2009

[eluser]RS71[/eluser]
When uploading a file, you can upload it to the webserver or an ftp yes? If so, what is the difference pros/cons between those two?

For example, say I had to have a client access area for them to upload me large files, list uploaded files and get an email when a file is uploaded.

Thanks


Quick question about uploading - El Forum - 01-12-2009

[eluser]Phil Sturgeon[/eluser]
You will need to upload it to your webserver first, then send it off to another server via FTP if you feel the content should be on different servers.

I do this when working with large media files, or files that need to be available even if the web server goes down.


Quick question about uploading - El Forum - 01-12-2009

[eluser]RS71[/eluser]
Hello pyromaniac

So when I upload using the FTP Class, I am not sending directly to the FTP but to the webserver first than to the FTP?

Interesting. So I could say that uploading to the FTP would serve more as a backup in my case?