Duplicate file handling

Image previewer add-on.
Post Reply
jsecci
Posts: 2
Joined: Fri Feb 12, 2010 4:41 pm

Duplicate file handling

Post 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,

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Duplicate file handling

Post 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

Post Reply