Your best friend for file transfer.

Fetch application logoFetch

Automator Folder Actions. (9 posts)

  • Started 5 years ago by POLITEINPUBLIC
  • Latest reply 5 years ago from POLITEINPUBLIC
  • POLITEINPUBLIC Member

    When you install Fetch, it adds a module to autmator that uses Fetch for uploading when writing folder actions. (workflows)

    I'm able to create working uploading applescripts. My problem is, I can't add any other modules to my script such as labeling or moving to a completed folder. I feel like this is a problem related to the Fetch upload module.

    sorry i couldn;t figure out how to add to a post. Thank you for the rapid response

    [This message has been edited by POLITEINPUBLIC (edited 05-14-2008).]

    [This message has been edited by POLITEINPUBLIC (edited 05-14-2008).]

    Posted 5 years ago #

  • Scott McGuire Administrator

    Hi,

    I'm sorry, but when you say the "Fetch upload applescript," we're not quite sure what you're referring to.

    Is this a script you downloaded from someplace? Or a script you wrote yourself?

    You can create automator workflows or AppleScripts that perform additional actions after uploading; we'll try to help you do that.

    Thanks,

    Scott McGuire
    Fetch Softworks

    [This message has been edited by ScottMcGuire (edited 05-14-2008).]

    Posted 5 years ago #

  • POLITEINPUBLIC Member

    please read the above, i edited my first response.

    Posted 5 years ago #

  • Scott McGuire Administrator

    Hi,

    You can add a post by clicking one of the two "Post Reply" buttons on this page (there's one at the top, and one at the bottom).

    So, it sounds like you are trying to create an Automator workflow that includes more actions than the Upload action.

    In order to help you, could you please tell us which version of Mac OS X you are using? The interface for using Automator changed between Mac OS X 10.4 and 10.5.

    And if you haven't already, you may want to read our help topic, "Introduction to using Automator with Fetch," which you can find at:

    http://www.fetchsoftworks.com/FetchWebHelp/Contents/Tutorial/AutomatorIntroduction.html

    That link is for the Mac OS X 10.5 version of the article, but there is a link to the 10.4 version in the first few paragraphs.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 5 years ago #

  • POLITEINPUBLIC Member

    I'm using automator in 10.5, and yes, I'm trying to do a few more things after I upload, such as move files to a "completed folder" That way I will know if the files have been properly uploaded.. I may also want to upload to a second server.

    Posted 5 years ago #

  • Scott McGuire Administrator

    Hi,

    You should be able to add an action to move files to a new folder after uploading them to your Automator workflow.

    Here is an outline of what you would do:

    1. Open Automator. When prompted, click the Choose button to create a new "custom" workflow. A new workflow window should open automatically. If it does not, choose File > New.

    2. In the list of categories on the far left of the Automator window, click the Internet icon.

    3. A list of Automator actions, including all the Fetch actions, will appear.

    4. In the list of actions, find the "Upload Files" action (you may have to scroll the list to find it) and drag it to the workflow area.

    5. In the Upload Files pane, enter the connection information for the server and remote folder (if any) you want to upload the files to, or choose a recent connection or shortcut from the pop-up menus.

    6. Then in the list of actions, find the "Move Fetch Items" action, and drag it to the workflow area, placing it after your Upload Files action.

    7. A new "Move Fetch Items" pane should appear beneath the "Upload Files" pane.

    8. Click the "Move items to" pop-up menu in the "Move Fetch Items" pane, and choose "Specific folder." Enter the name of the folder you would like your files to be moved to, for instance, "completed." Note that this folder must already exist on the server for the action to work correctly, this is a limitation of the "Move Fetch Items" action.

    9. Save your workflow.

    Please give this a try and let us know which step you are experiencing problems with, and if an error message is displayed, what it is.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 5 years ago #

  • POLITEINPUBLIC Member

    I'm actually trying to move the files on my local drive after I upload. I also wanted to label them. The upload action is intermittent, I want to be moving and labeling files to as a way to verify upload status.

    Posted 5 years ago #

  • Jim Matthews Administrator

    Hi,

    It is difficult to do what you want with Automator. The problem is that Automator actions can only pass one type of information to the next action in the workflow. The Upload Files action passes information about the files that were just created on the server. You want information about the local files that were uploaded.

    So I think you would need to create a folder action AppleScript. You can download some example AppleScripts from http://fetchsoftworks.com/downloads.html . The "Upload Folder Action" script might be a good starting point. Please let me know if you run into any problems.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 5 years ago #

  • POLITEINPUBLIC Member

    figured out a work around, thanks for your help.

    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.