in reply to uploading a file through HTTP using multipart

If I could give you only one piece of advice, it would be this: Use LWP

Of course, if you don't want to do that (or can't for some convoluted reason), you might want to take a look at the insanity I once had to deal with. Be warned, the RFC's for MIME are awful and difficult to read.

  • Comment on Re: uploading a file through HTTP using multipart