Page 1 of 1

Duplicate file handling

Posted: Tue Feb 16, 2010 3:48 pm
by jsecci
I'm evaluating JImageUpload and I'm using modified samples of applet_ftp_jsapi.js and applet_ftp_jsapi.html to exercise it. I've noticed when I attempt to upload an image more than once to my server that the applet appends a large number (I'm guessing current time in millis) to the file extension and uploads that to the server. Also, the thumbnail for that file is left in the drag and drop pane.

Through forum searches I found an "overwrite" parameter. I've tried setting that to true but the behavior doesn't change.

Is there a way I can accomplish either of these things?:
  • Configure the applet so that it blindly overwrites files with the same name on the server?
  • In the scenario that I describe in the first paragraph above, alter configuration so that the thumbnail for the duplicate file is removed from the drag and drop pane?
Thanks for your help,

Re: Duplicate file handling

Posted: Wed Feb 17, 2010 7:32 am
by support
Using <PARAM NAME="overwrite" VALUE="true"> should overwrite duplicated file.
If not then you might have a problem with FTP serrver. Drop an email with a testing FTP account to support(at)fileupload(dot)com