views:

29

answers:

1

Is there a way to make a form where it can simultaneously upload to several servers at once?

Currently in my web application, I am asking the users to type in some info + select a few files to upload.

  • Title, Description, Info, etc
  • File 0
  • File 1
  • File 2
  • File ...

On the backend, I'm using Pylons. Currently it accepts POST of (info + all files), processes the info and the first file (file 0), and uploads them again to Amazon S3. I only need to process info and the 'file 0' on my own server, the rest of the files I can pass through directly to S3 via a POST.

Is there a way to make a form where the info+file0 will be POST'ed to one server, and the rest of the files be POST'ed directly to S3?