Gath Posted September 14, 2007 Share Posted September 14, 2007 Hi. Got kind of lost here. How to send a file by form, from one server to another, when the file is stored on the 1st server? Hmm, i think i explained correctly :-\ Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/69398-similar-to-upload-but-server-server/ Share on other sites More sharing options...
Azu Posted September 15, 2007 Share Posted September 15, 2007 You will need to use a server side language to tell your server to download the file from the other server. Quote Link to comment https://forums.phpfreaks.com/topic/69398-similar-to-upload-but-server-server/#findComment-348849 Share on other sites More sharing options...
Gath Posted September 15, 2007 Author Share Posted September 15, 2007 You will need to use a server side language to tell your server to download the file from the other server. That's the problem, i dont have access to the receiving server. I can do any code/change on the server that is 'sending' the file, but nothing on the other. Any 'trick' i could use? The page from where the form will leave is of restricted access, i dont need to worry about any security, it would just make sooooo mutch if people could send the file by the server, instead of using an upload. Quote Link to comment https://forums.phpfreaks.com/topic/69398-similar-to-upload-but-server-server/#findComment-348881 Share on other sites More sharing options...
Azu Posted September 15, 2007 Share Posted September 15, 2007 Sorry, but random clients can't just force somebody's server to download random files from somebody else's server(unless it is set up to look for and accept this input), for obvious security reasons. So if the server does not have something in it for downloading files from another server, you're out of luck. Quote Link to comment https://forums.phpfreaks.com/topic/69398-similar-to-upload-but-server-server/#findComment-348905 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.