Your best friend for file transfer.

CopyMove a File to Folder on FTP with Fetch 5.7.3 and Applescript Mac OS X 10.6.8 (3 posts)
- Started 7 years ago by rwaters
- Latest reply 7 years ago from rwaters
-
rwaters Member
-
Jim Matthews Administrator
Hi,
I would try clicking the Record button in AppleScript Editor and then performing the move manually -- that should generate an example of the syntax to use. Let me know if that doesn't help.
Thanks,
Jim Matthews
Fetch Softworks -
rwaters Member
Hi Jim,
Thanks for the quick response!
I found out that I need to "rename" the file to the location I want.
To rename a remote file or remote folder:
rename host "ftp.example.com" user "fred" password "secret" path "remotedir/filename" newname "/remotedir/NEWLOCATION/filename" (with sftp if needed)Works great now.
Thanks again,
Robert
- Page 1
Hi,
I need to move a file from one directory to another on our FTP site using Applescript. And can't seem to find the right syntax.
Please help.
Thanks,
Robert
Posted 7 years ago #