0 Replies Latest reply on Feb 6, 2008 5:12 PM by Günter Schenk

    Tutorial Announcement : Image & File Upload: overwrite existing file

    Günter Schenk Level 4
      How can I delete an image or file from the server *before* uploading a new one having the same name ?

      How can I detect if the existing and the to-be-uploaded file share the same name ?

      Folks, that´s actually comparatively easy to do :: this tutorial walks you through a "Custom Trigger" (comes in two "flavors", depending on the use case) which overwrites an existing file before executing ADDT´s Image/File Upload behaviour.

      Two sample scenarios provided:

      a) automatic "no questions asked" deletion

      b) triggering the deletion process using a "overwrite existing file ?" checkbox

      Perma URL: http://www.guenter-schenk.com/tutorials/tutorial.php?id=7

      Have fun -- I definitely had when writing this tutorial:-)

      Cheers,
      Günter Schenk
      Adobe Community Expert, Dreamweaver