in reply to Put file on webserver via HTTP
I don't think your posting the file, I think your posting the content of $fname as postvariable 'upfile'.
Look at the example in docs:
The POST method also supports the multipart/form-data content used for Form-based File Upload as specified in RFC 1867. You trigger this content format by specifying a content type of 'form-data'. If one of the values in the $form_ref is an array reference, then it is treated as a file part specification with the following values:
[ $file, $filename, Header => Value... ]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Put file on webserver via HTTP
by Errto (Vicar) on Nov 01, 2005 at 14:27 UTC |