Your best friend for file transfer.

Fetch application logoFetch

AppleScript Fetch handler trying too many times (3 posts)

  • Started 8 years ago by Lenny Eiger
  • Latest reply 8 years ago from Lenny Eiger
  • Lenny Eiger Member

    I have a script that backs up a database (Helix) runs it thru tests, copies it here and there, zips it and sends the zipped file to an ftp server. It's very reliable.
    Except that sometimes it does it numerous times. There are 6 or 7 copies of the database at the remote site.

    with timeout of 7200 seconds
    tell application "Fetch"
    open remote folder fetchRemotefolder
    set theResult to put into transfer window fetchTransferWindow item theFileToSend with uniquename
    end tell
    end timeout
    tell application "Fetch" to quit

    What am I doing wrong?


    Edited 8 years ago #

  • Jim Matthews Administrator


    I would take out the words "with uniquename"; does that help?


    Jim Matthews
    Fetch Softworks

    Posted 8 years ago #

  • Lenny Eiger Member

    It might. In earlier testing, I had only the date attached to the file so it just overwrote things, but now the time is there as well..


    Posted 8 years ago #


  • Or nickname, if you prefer.
  • This will be kept confidential.
  • This is to ensure that you’re a person, not a spambot.