Re: Scripting Transmit
Re: Scripting Transmit
- Subject: Re: Scripting Transmit
- From: Jason Bourque <email@hidden>
- Date: Mon, 02 Aug 2004 20:03:29 -0400
set suppress AppleScript alerts to false
Jason Bourque
On 8/2/04 3:13 PM, "Courtney Braafhart" <email@hidden>
wrote:
>
I figured out how to check for the file, but now the issue is if the
>
file is not there Transmit puts out an error that needs someone to
>
press okay to get rid of the message... is there a way to tell Transmit
>
not to put out errors or a way to script pressing okay?
>
Thanks
>
Here is the current script:
>
tell applicaiton "Transmit"
>
make new document at before front document
>
tell document 1
>
connect to "0.0.0.0" as user "user" with password "password"
>
with connection type FTP
>
set your stuff to "target path"
>
if (download item "file to download") then
>
quit application "Transmit"
>
else
>
quit application "Transmit"
>
end if
>
end tell
>
end tell
>
Thanks in advance!!!
>
On Aug 2, 2004, at 1:17 PM, Courtney Braafhart wrote:
>
>
> 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.
>
_______________________________________________
>
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.
_______________________________________________
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.