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 > lftp@uniyar.ac.ru (mailto:lftp@uniyar.ac.ru) > http://univ.uniyar.ac.ru/mailman/listinfo/lftp _______________________________________________ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp