Problem getting shutil.copy() to transfer files to my Web site - ?!
"Martin v. Löwis"
martin at v.loewis.de
Sun Dec 22 15:27:35 EST 2002
Cliff Wells wrote:
> Anyway, the simplest solution to what you are trying to do is this:
> have the clients ftp the files to a directory on the server and have a
> cgi pick them up. Even Windows comes with an ftp client. If they truly
> don't have one, put a link to somewhere they can download one (or write
> one in python).
>
> The bottom line is the user will have to send the file to you, you can't
> go out and get it.
I think the simplest solution is to use a file upload http form (i.e. an
input element with a type=FILE attribute). Works with every browser.
Regards,
Martin
More information about the Python-list
mailing list