upload file with cgi
Sim & Golda Zacks
simngolda at voyager.net
Sun Jul 18 01:23:49 EDT 1999
More information about the Python-list mailing list
Sun Jul 18 01:23:49 EDT 1999
- Previous message (by thread): upload file with cgi
- Next message (by thread): strptime: unpleasant surprise (py 1.5.2 on Linux)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I am uploading a file using the cgi module and I can not figure out how to get the name of the file. The code I am using is form=cgi.FieldStorage() pic=form["picture"] Now when I print pic it gives me the name of the File and the actual file. When I get pic.value it is the actual picture. pic.key doesn't give me anything and I have absolutely no clue how to get the filename. Please help. Sim
- Previous message (by thread): upload file with cgi
- Next message (by thread): strptime: unpleasant surprise (py 1.5.2 on Linux)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list