
May 19th, 2004, 08:12 AM
|
|
Registered User
|
|
Join Date: May 2004
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
how to get filename from uploaded filevariable
Hello Friends
I want to upload image file and want to store that imagefile in some folder and its name in a database.
i am ussing html page tamplate in zope to upload the file and redirecting the form action to some.py some python file.
<form action="some.py">
Logo Image: <input type="File" name="file"><br>
</form>
=========================
python file
i am able to upload the image in "/uploadedimg" folder
folder=container.uploadedimg
folder.manage_addImage(id='', file=file)
now I dont to know how to read file name .
please guide me friends.
thanks
Bhoomika
|