• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Scripting Transmit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scripting Transmit


  • Subject: Scripting Transmit
  • From: Courtney Braafhart <email@hidden>
  • Date: Mon, 2 Aug 2004 13:17:54 -0500

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.


  • Follow-Ups:
    • Re: Scripting Transmit
      • From: Courtney Braafhart <email@hidden>
  • Prev by Date: Re: Work aroun for "say" in Portuguese language.
  • Next by Date: Re: Work aroun for "say" in Portuguese language.
  • Previous by thread: applescript & javascript
  • Next by thread: Re: Scripting Transmit
  • Index(es):
    • Date
    • Thread