Hi Alexander,  

 >> debug 9
 >> set http:put-method POST
 >> set http:post-content-type multipart/form-data
 >> put test.txt -o "https://www.somesite.com/uploader.php";
 > 
 > You cannot upload files like this. The problem is that lftp cannot
 > create multipart/form-data content, you have to prepare it beforehand
 > in a file, then send that prepared file in POST request. See RFC2388
 > for how to format the request data.

I think it should be possible to use "curl" to do it.
"curl" is available as FreeBSD package and should be available for other
unixes as well. See http://curl.haxx.se/download.html

-- 
Michael

Reply via email to