There are some RFCs and whatnot around this, if that's helpful: http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.2 http://www.ietf.org/rfc/rfc1867.txt http://www.ietf.org/rfc/rfc2388.txt
Specifying arbitrary headers would also help, too, if one wanted to upload to S3 using LFTP. On Thursday, August 23, 2012 at 1:31 PM, Nate Sutton wrote: > An http post. Lftp will currently post the raw body to a URL that you give > it: > > lftp -e 'set http:put-method POST;put "/path/to/local/file" -o > "http://0.0.0.0:4567/upload";quit' > > I would like to perform a multipart post instead, where the file is treated > as though it is being posted with a form. > > On Wednesday, August 22, 2012 at 9:22 PM, Alexander V. Lukyanov wrote: > > > On Wed, Aug 22, 2012 at 04:30:50PM -0700, Nate Sutton wrote: > > > Is there a way to multipart post with a file using lftp? > > > > > > > > > > > > What do you mean by "post"? > > > > -- > > Alexander. > > _______________________________________________ > > lftp mailing list > > [email protected] (mailto:[email protected]) > > http://univ.uniyar.ac.ru/mailman/listinfo/lftp > _______________________________________________ lftp mailing list [email protected] http://univ.uniyar.ac.ru/mailman/listinfo/lftp
