Your best friend for file transfer.

Fetch application logoFetch

Hot Folders (2 posts)

  • Started 8 years ago by guest
  • Latest reply 8 years ago from Scott McGuire
  • guest Registered Member

    I want to set up a hot folder to automatically upload my files to FTP sites with Fetch. It is not working and I think the reason is the passwords on the FTP sites. Can you help.
    Here is the script:
    property DestinationURL : "ftp://rt_waxahachie@ftp.metro-pi.com/files/rt_waxahachie/"

    on adding folder items to this_folder after receiving added_items
    tell application "Fetch"
    with timeout of 36000 seconds
    put into url DestinationURL item added_items
    end timeout
    end tell
    end adding folder items to

    Posted 8 years ago #

  • Scott McGuire Administrator

    Hi,

    Your script looks correct.

    If the problem is Fetch is waiting for a password, you should add the password to your keychain - then Fetch will get the password out of your keychain automatically without prompting for it. The keychain is part of Mac OS X that provides a secure, central storage place for passwords.

    To add the password to the keychain:

    * Run Fetch.
    * In the New Connection dialog, enter the same hostname, username, and path you're using in this AppleScript.
    * Enter the password in the Password field
    * Check the "Add to keychain" checkbox.
    * Click Connect.
    * Once the connection has opened successfully, your password has been added to the keychain.

    Then try your hot folder again. If this does not work, let us know.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 8 years ago #

Reply

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