View Full Version : Uploading to another server??

07-18-2008, 09:03 PM
Okay, so I have this site that stores info about computers on my network. It's set up to have uploads to keep drivers and such on the server that are associated with that computer's record. When a file is uploaded, the path to the file is serialized and then put into a cell in a Mysql database.

Now what I'm wanting to know is if there is some cheap way to define an upload directory on a remote machine? We have about 3000 machines and I would like to keep the file storage separate from the php and apache server.

I've tried stupid stuff like just mapping a network drive and setting that as the directory, but it doesn't work. I just don't know how to give permissions for php to write on this other server.

Any ideas?

07-19-2008, 04:14 PM
Maybe using sockets and sending files to an external ftp server..