Uploading files

pavlos at gaaros.com pavlos at gaaros.com
Wed Jun 30 18:41:27 EDT 1999


 <377874c6.6941ccf- at boxer.no.---> wrote: 
original article:http://www.egroups.com/group/python-list/?start=61969
> Hi, I'm writing a script that needs to upload files from the user's
> machine to a server, and it's used in combination with a form and
> HTML-file that lies on the server side. I wrote a piece of code that I
> thought would work, but it turned out that when i specify c:\foo.exe, it
> is the file on the server side that is uploaded and not the foo.exe on
> the client side. Evidently since the script is run on the server side.
> 
> So my question is: How do I specify that it is the client's c:\foo.exe
> and not the server file that gets uploaded?
> 

A bit unrelated. Digital Creation ZPublisher is one of the easiest ways to
web publish python objects. Coincidentally I have a ZPublisher app 
that does exactly what you want. You can download it from:
http://starship.python.net/crew/pavlos

Pavlos





More information about the Python-list mailing list