Your best friend for file transfer.

Another Automator Problem (4 posts)
- Started 13 years ago by RandyV
- Latest reply 13 years ago from Jim Matthews
-
RandyV Member
-
Jim Matthews Administrator
Hi Randy,
I was able to save a workflow with Get Specified Fetch Items as an application, and run it successfully, so it may be that the backslash is still the issue. Do you have access to a server account that does not have a backslash in the username?
Also, have you tried running Fetch and connecting to the server in question manually, and then running the Application? [I realize that this would not be a real solution, but it might suggest where the problem lies.]
Thanks,
Jim Matthews
Fetch Softworks -
RandyV Member
Hi Jim,
Fetch works perfectly interactively. I've been using it for months interactively without issue. It's only recently that I've had a need to automate some file uploads (hundreds of files) which is why I've started experimenting with Automator.
I do need to correct something from my original post -- it's not the "Get Specified Fetch Items" action that's failing, it's the "Rename Fetch Items" step.
Here's part of my workflow:
- Get Selected Finder Items (works ok)
- Set Value of Variable (works ok)
- Upload files (works ok)
- Rename Fetch Items - FAILS
- Get Value of Variable
- Upload filesI drag a single file that I want to upload from Finder to the Automator application. Fetch launches, uploads the file and I see it rename the file correctly, but the rename action then dies with the following error:
"The action 'Rename Fetch Items' encountered an error.
Check the action's properties and try running the workflow again.The Fetch Transcript shows the following:
ftp_rename(foo_bar.xml, foo_bar.xml.flag)
SSH2_FXP_RENAME 18, ftpuser:/foo/bar/foo_bar.xml, ftpuser:/foo/bar/foo_bar.xml.flag
SSH2_FX_NO_SUCH_FILE 18Despite this, on the FTP site the file is correctly renamed foo_bar.xml.flag so the rename action did work
Again -- if I run this workflow through Automator itself and not as an application, it works perfectly.
Thanks for your reply & help,
Randy
-
Jim Matthews Administrator
Hi,
Could you run the workflow twice, once as a workflow and once as an application, and then post the Fetch Transcript window contents? I'd like to compare the two transcripts.
Thanks,
Jim Matthews
Fetch Softworks
- Page 1
Scott -- continuing from my thread last week, the "Get Specified Fetch Items" action, when using SFTP and a username that contains a backslash (domain\user) does not work properly when the workflow is used as an Automator Application.
The action runs fine when run within Automator, but if I save the workflow as an Application and try to use it as an Application, the "Get Fetch Folder Contents" action hangs and Automator freezes. Just an FYI ...
Randy
Posted 13 years ago #