CodeIgniter Forums
$this->ftp->upload() question - 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: $this->ftp->upload() question (/showthread.php?tid=19402)



$this->ftp->upload() question - El Forum - 06-06-2009

[eluser]darren884[/eluser]
Can I specify the local file as a file stored on another site? Or is this just locally from my computer... I was thinking about using CURL to get the file off the other server...


$this->ftp->upload() question - El Forum - 06-06-2009

[eluser]Colin Williams[/eluser]
The FTP class is server to server. It isn't like an FTP client on your personal computer (unless, of course, your local computer is your server).

For PC -> remote server file transers via the browser (barring any special browser extensions), you're stuck with the HTTP protocol.