Page 1 of 1

Uploading and retrieving files from a seperate server

Posted: Tue Jun 19, 2007 7:16 pm
by Jhorra
We have second server that we would like to serve our videos and images from. I'm not entirely sure though how to handle the upload process to move them over to the other server, or how to link to those files. Can anyone provide any help or links to guides on this?

Posted: Tue Jun 19, 2007 7:18 pm
by superdezign
You can upload by posting your upload form to that particular site (in theory... I've never tried this before). Coming back to your site would have to be done through the remote upload script.

Posted: Tue Jun 19, 2007 7:58 pm
by Jhorra
Where I get confused is do I have to set up a shared folder on that server to be able to move the files over?

Posted: Wed Jun 20, 2007 3:05 am
by Gente
Not sure, but maybe this function will help you
http://www.php.net/ftp_put

Posted: Thu Jun 21, 2007 4:32 pm
by Jhorra
I think that's going to work great! Now I just need to figure out how to set up an ftp server on that server.