Your best friend for file transfer.

Fetch application logoFetch

Using automator to download folders from sftp (4 posts)

  • Started 9 years ago by David
  • Latest reply 9 years ago from David
  • David Member

    I set up a automator app that downloads a folders contents (other folders) from yesterday. It seemed to work initially but now its also including the parent folder. Now Im downloading the folder and contents twice instead of the filtered contents.

    * Get Specified Fetch items (Goes to the specified folder)
    * Get Fetch Folder Contents <------ Here its including the folder its supposed to be getting the contents
    * Filter Fetch Items (Item Type is a Folder)
    * Filter Fetch Items (Modification Date is yesterday)
    * Download Fetch Items
    * Quit Application (Fetch)
    * Display Notification

    Ive tried setting Fetch to default to open to the folder but that doesn't seem to help. Any help would be appreciated.

    Posted 9 years ago #

  • David Member

    I may have answered my own question. I switched the Filter Fetch Item from "Item type is folder" to "Name is not equal to the parent folders name". Testing seems to work. I guess I'll see tonight.

    Is there a better way?

    Posted 9 years ago #

  • Jim Matthews Administrator

    I think that is the best way to get the folder contents without getting the folder itself. It would make sense for the Get Fetch Folder Contents action to have the option of omitting the parent folder.


    Jim Matthews
    Fetch Softworks

    Posted 9 years ago #

  • David Member

    I think in most cases you are filtering a jpg or pdf it's no issue. I'm the guy filtering folders. All good thanks for the feedback.

    Posted 9 years ago #


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