Sending a file/key to Amazon S3 via a html form and HTTP Post is quite easy and working.
But I want to send a file to several S3-compatible sites via HTTP POST and a single html form.
How can I do this?
As far as I know, HTTP POST can only be directed at a single target location.
I want the file to be sent to the first S3-compatible site (server) and then to the second one and than to the third one and so on without any need for the user to interact.
Is this possible?
Thanks a lot for any help.
You can use flash to do that for you (a lot easier).
Or I think you can use invisible frames and javascript. Target the upload on the hidden frames and change the action. The example below will upload the same file one server after the other.
Here’s the code: