I'm trying to update a file thats already been uploaded. I can't figure out what command to use, "update_data"/"manage_upload"/"manage_edit". I've settled (so far) on manage_upload but it doesn't work. I get the error:
Error Type: AttributeError
Error Value: manage_upload
# Takes the filename from a form searches my ZSQL method for the existence of the file, and then should update the file.
filename = REQUEST.form.get('file')
fname= container.Show_filename_selected (filename=filename).tuples()
return "File Exists... UPDATE: " + filename
return "File Does NOT Exist: " + filename
What am I doing wrong? Am I using the wrong command?
Thanks in advance,
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )