Your best friend for file transfer.

Fetch application logoFetch

Automate download and delete from server (2 posts)

  • Started 12 years ago by Jeff
  • Latest reply 12 years ago from Jim Matthews
  • Jeff Member

    I followed instructions to use the "Automator" and I can make a connection to my sftp server and get files successfully, but the files remain on the server. My goal is to setup an automated download to a folder on the MAC and the files must be removed/deleted from the server. How can I accomplish this?

    Posted 12 years ago #

  • Jim Matthews Administrator

    Hi Jeff,

    If you are running Mac OS X 10.5 Leopard or 10.6 Snow Leopard you can accomplish that by adding three actions to your Automator workflow.

    First, add a "Set Value of Variable" action to the workflow right before the "Download Fetch Items" action. Set the name of the variable to "files on the server". This variable will be set to the list of files on the server that you want to download and delete.

    Then, at the end of the workflow, add a "Get Value of Variable" action, and choose "files on the server" from the menu.

    Finally, right after the "Get Value of Variable" action, add a "Delete Fetch Items" action. It will delete the files that you downloaded.

    Please let us know if you have any questions.


    Jim Matthews
    Fetch Softworks

    Posted 12 years ago #


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