|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
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"
If anyone could help me with the proper syntax for checking for the file that would be great!
applescript-users mailing list | email@hidden
Do not post admin requests to the list. They will be ignored.
|>Scripting Transmit (From: Courtney Braafhart <email@hidden>)|
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.