Your best friend for file transfer.

Fetch application logoFetch

Hot Folders (4 posts)

This is an archived topic. The information in it is likely to be out-of-date and no longer applicable to current versions of Fetch.
  • Started 20 years ago by needhelp
  • Latest reply 20 years ago from Jim Matthews
  • needhelp Member

    How do I get Fetch to setup a hot folder on my desktop? Is there anyway in 4.0.3?

    Posted 20 years ago #

  • Jim Matthews Administrator

    By hot folder do you mean one that you can drop files into, and have them automatically uploaded by Fetch?

    You'd do that by attaching a folder action AppleScript to the folder. Here's an example script:

    on adding folder items to this_folder after receiving these_items
    try
    tell application "Fetch 4.0.3"
    with timeout of 60000 seconds
    put into url "ftp://userid:@hostname/path/" item these_items
    end timeout
    end tell
    on error errorMsg
    display dialog "There was an error trying to put " & (these_items as string) & ": " & errorMsg
    end try
    end adding folder items to

    To add a folder action script to a folder you'd control-click on the folder in the Finder, bringing up a contextual menu; there should be a command for attaching a folder action. Let me know if that does not work.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 20 years ago #

  • needhelp Member

    Ok,
    That is exactly what I want to do. But I am not sure how to get the script to work. I went into the script editor and put that info in and replaced the info that pertains to my FTP server and all that but when I place a photo in the folder it does nothing. Not to sure on what to do next.

    Posted 20 years ago #

  • Jim Matthews Administrator

    You should save that script, and then you need a way to attach it to the folder.

    On Mac OS 9: Control-click on the folder icon in the Finder, and choose "Attach Folder Action..." from the menu that appears.

    On Mac OS X 10.3 (Panther): Control-click on the folder icon in the Finder and choose "Enable Folder Actions" if you haven't done so before. Then Control-click again and choose "Attach a Folder Action...". Apple has documentation at http://www.apple.com/applescript/folderactions/

    Folder actions are also supported on Mac OS 10.2 (Jaguar), but you need to download extra software to configure them. I'd take a look at Folder Actions Manager X at http://www.macupdate.com/info.php/id/9059

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 20 years ago #

Topic closed

This topic has been closed.