Your best friend for file transfer.

Fetch application logoFetch

Move files after Upload using Automator (3 posts)

  • Started 5 years ago by Deyson
  • Latest reply 5 years ago from Jim Matthews
  • Deyson Member

    I would like the files that are dropped in a watch folder to be moved after upload is complete.

    I tried adding a move finder items, but this does not work.

    Anyone have any ideas?

    Thank you..

    Posted 5 years ago #

  • Jim Matthews Administrator

    Hi,

    The problem is that the output of the Upload Files action is Fetch Items representing the just-uploaded files on the server, but you want to act on the files that were dropped in the watch folder. You can work around this problem by using Automator variables. You want a workflow with four actions:

    1. Set Value of Variable. This will store a reference to the files that were dropped on the folder in a variable (you can give the variable any name you like, e.g. "Dropped Items").
    2. Upload Files. This will upload the dropped files.
    3. Get Value of Variable. This will output a reference to the dropped files.
    4. Move Finder Items. This will move the dropped files.

    This will require Mac OS X 10.5 or later. Please let me know if it doesn't do what you want.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 5 years ago #

  • Jim Matthews Administrator

    A correction to my earlier post. It appears that the Set Value of Variable action does not work correctly in Folder Actions on 10.5; so the workflow I described requires Mac OS X 10.6 Snow Leopard.

    Jim Matthews
    Fetch Softworks

    Posted 5 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.