![]() |
Upload files to a different server
Is it possible to upload files to a physically different server? The idea is to have a dedicated file server where all files are stored and managed.
I have no idea whether this is possible, let alone how to pull it off. It's a client request. Any clues? Thanks. |
Well, you could convert the file into base64 and send it in a XMLHttpRequest. The server could then convert the string back into the file and store it there.
|
You could send the file via a HTTP request using cURL.
|
|
Thanks for your suggestions! I'm most interested in the PHP FTP library. Just wasn't aware of its existence. Gave it a little try already and it seems to work like a charm. Very easy to use, and probably the fastest of the three suggestions too, right?
Moreover, I forgot to mention the connection needs to be secure. Seems like ftp_ssl_connect() will come in really handy then. |
| All times are GMT. The time now is 05:55 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0