[pmwiki-users] ?action=upload

Patrick R. Michaud pmichaud at pobox.com
Fri Feb 29 17:18:05 CST 2008


On Fri, Feb 29, 2008 at 03:46:46PM -0600, Chris Cox wrote:
> Stéphane Heckel wrote:
> > Greetings, ...
> > 
> > Just wondering if it's possible to upload a file and set all required 
> > parameters in the URL, ie source file, target, ... to avoid being prompted ?
> 
> Probably possible to craft it... but now we'll have a whole discussion
> about upload spam (sigh).

In a _url_ it's not possible, because the only way to perform
a file upload is by using an HTTP POST request using a
"multipart/form-data" encoding.  In other words, any
"file" portion of an upload is expected to be in the
body of the HTTP request (and most browsers expect to
handle it that way).

Pm



More information about the pmwiki-users mailing list