Duplicate file handling

Image previewer add-on.

Duplicate file handling

Postby jsecci » Tue Feb 16, 2010 3:48 pm

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,
jsecci
 
Posts: 2
Joined: Fri Feb 12, 2010 4:41 pm

Re: Duplicate file handling

Postby support » Wed Feb 17, 2010 7:32 am

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
User avatar
support
 
Posts: 1501
Joined: Sun Jan 27, 2008 6:19 pm


Return to JImageUpload




Sitemap | Privacy Statement | Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc.
in the U.S. and other countries. All other company and/or product names are the property of their respective owners.