Hi all,<br><br>I'm trying to update a file thats already been uploaded. I can't figure out what command to use, &quot;update_data&quot;/&quot;manage_upload&quot;/&quot;manage_edit&quot;. I've settled (so far) on manage_upload but it doesn't work. I get the error:
<br><br>Error Type: AttributeError <br>Error Value:&nbsp;&nbsp;manage_upload<br><br>my code:<br>_________________________________________<br># Takes the filename from a form searches my ZSQL method for the existence of the file, and then should update the file.
<br><br>REQUEST=context.REQUEST<br>filename = REQUEST.form.get('file')<br>filename=filename.split('\\')[-1]<br><br>result=container.Show_filename_selected(filename=filename)<br>if result:<br>&nbsp;&nbsp;&nbsp; fname= container.Show_filename_selected
(filename=filename).tuples()[0][3]<br>&nbsp;&nbsp;&nbsp; context.manage_upload([filename,REQUEST])<br>&nbsp;&nbsp;&nbsp; return &quot;File Exists... UPDATE: &quot; + filename<br>else:<br>&nbsp;&nbsp;&nbsp; return &quot;File Does NOT Exist: &quot; + filename<br>_________________________________________
<br><br>What am I doing wrong? Am I using the wrong command?<br><br>Thanks in advance,<br>mjakowlew<br>