|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Good Day-_______________________________________________
I am trying to make a script that will download a file using Transmit. I can get it to work except for one problem. ....
I first need to check to see if the file exists.. if it does then I want to go ahead and download it, if it doesn't exist then I want to quit.
Here is what I have so far
tell application "Transmit"
make new document at before front document
tell document 1
connect to "0.0.0.0" as user "username" with password "password" with connection type FTP
set your stuff to "target path"
download item "file to download"
quit application "Transmit"
end tell
end tell
If anyone could help me with the proper syntax for checking for the file that would be great!
Thanks
Courtney
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
| References: | |
| >Scripting Transmit (From: Courtney Braafhart <email@hidden>) |
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.