Your best friend for file transfer.Fetch
Fetch Automator upload Action (5 posts)
- Started 5 years ago by Dan
- Latest reply 9 months ago from dustin
I am trying to create an automator action to do the following:
Create folder on desktop
Get specified files
archive specified files
upload specified files to ftp server
move archived folder and file to trash.
All works well until I want to create a new directory on the server. Fetch Upload action will send the file to an existing directory but it doesn't seem to be able to create a new directory on the ftp server and then upload the file to that new directory.
Am I off base on this?
Scott McGuire Administrator
You're correct that there is no direct way to use the Fetch Upload Automator action to upload files to a new folder that doesn't already exist on the servers.
However, there are a couple of possible alternatives to that may allow you to do what you want, depending on the particulars of what you're trying to do.
Before I try to explain them, I'd like a little more info. Would the new folder on the server have the same name as the folder you create on the Desktop in the first step? Or the name of some other folder on the Mac that you are working with?
Thanks for the response. Generally it would be the name of the folder where the source files originated. The advantage of having a temp file on the desktop in which to put the archive is so that it can act as a visual cue on the completion of the automator application. If the temp folder is not deleted then the action failed somewhere. What I was trying to do before was just but a new directory name into the "folder entry" on the Fetch Action. It would be really nice if the folder could be put in right there and the application would create folder if it did not exist.
Scott McGuire Administrator
While there are several ways to do what you want, I think the simplest way would be to create a folder with the name you want on the Mac, move the files to that folder, and then just upload that folder to the place you want it on the server.
So, for example, if you want your files to be in a folder named "January19" inside the folder "ArchiveFiles" on the server, you'd tell Automator to create a folder named "January19" on the Mac and move the files to it, and then in the Fetch Upload Files action, specify the folder ArchiveFiles as the "initial folder" to use. Then the Fetch Upload action will upload the folder "January19" to "ArchiveFiles" and you'll be all set - you don't have to worry about creating the folder on the server.
Does that make sense, and sound like it would do what you want?
I'm creating a new automator action and when it get to the "upload files" section it sends an error of
2016-02-25 19:16:15 +0000: The action “Upload Files” was not supplied with the required data.
I have the correct passwords,host name,etc in fetch and have saved it to my keychain but it still will not log in... any help would be great
- Page 1