bufke Posted May 26, 2009 Share Posted May 26, 2009 Hi Is it possible to have a setup like this. A user goes to one website and uploads a file. The file goes directly to another dedicated file server via ftp,scp, whatever. The key here is that the file never goes to the first website for bandwidth reasons. Anyone know? Quote Link to comment https://forums.phpfreaks.com/topic/159698-uploading-from-client-to-remote-server/ Share on other sites More sharing options...
gevans Posted May 26, 2009 Share Posted May 26, 2009 A simple solution would be to post the form to the other site, and handle the file upload there, then the temp file will be on the other server. Apart from that I'm not sure. Quote Link to comment https://forums.phpfreaks.com/topic/159698-uploading-from-client-to-remote-server/#findComment-842313 Share on other sites More sharing options...
Adam Posted May 26, 2009 Share Posted May 26, 2009 You're going to need a local copy in order to copy it to another web server. The only solution is as gevans says and point the form action to the right server, otherwise when they click the upload button on your site it will upload it your local server! Quote Link to comment https://forums.phpfreaks.com/topic/159698-uploading-from-client-to-remote-server/#findComment-842317 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.