Page 1 of 1

Uploading to another server

Posted: Fri Aug 19, 2005 7:55 am
by crazycaddy
Is it possible in php to use the standard upload method, to upload a file to another server on the network?

Possible?

Posted: Fri Aug 19, 2005 8:02 am
by AnarKy
You can upload and then FTP to another server.

Posted: Fri Aug 19, 2005 8:23 am
by crazycaddy
not if they dont have an ftp server :o . Thats why I mentioned regular upload method :P

Posted: Fri Aug 19, 2005 8:36 am
by shiznatix
the only way they wouldnt have a ftp server would be if they ran the server off their own box and if they do then why not tell them to quickly make a easy ftp server?

FileZilla Server

Posted: Fri Aug 19, 2005 8:47 am
by AnarKy
I used FileZilla Server for a project last year.
Good stuff :wink:

Posted: Fri Aug 19, 2005 8:51 am
by feyd
yes it's possible, although you will not use the "standard" file uploading systems in php. You'd make a HTTP POST to the other server as if you were a user uploading the file.

cURL can be used for such a procedure.