Uploading files from a server

Peter Hansen peter at engcorp.com
Mon Apr 26 19:53:33 EDT 2004


Edward Diener wrote:

> What is the easiest way in Python in a web server 
                           ^^^^^^^^^^^^^^^^^^^^^^^^^
What does this mean?  Are you asking about a specific situation
you have already, such as Python CGI scripts running behind
an Apache server, or are you asking for suggestions for a web
framework which can handle this task, where the web server
itself is written in Python?  Or something else?

> to upload a client file,
> once the file name on the client's machine has been entered, to a directory
> on the server ?

That is done using the usual means laid out by the HTTP and HTML
standards, same with Python as with any other language.  Are
you actually asking how this is done?  (That is, using POST,
and an input type of "file", and so forth...)

Please clarify what you really want.

-Peter



More information about the Python-list mailing list