• 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
Re: Filemaker and Transmit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Filemaker and Transmit


  • Subject: Re: Filemaker and Transmit
  • From: "email@hidden" <email@hidden>
  • Date: Mon, 14 Jun 2010 09:06:49 -0700


On Jun 13, 2010, at 12:35 PM, David Erb wrote:

I'm in need of a little help here.

I have a filemaker database, that has [among others] three fields. 1) Address 2) username 3) password.

I'd like to put a button in filemaker that pulls the information from these three fields, and adds it on the fly to an applescript that in turn feeds that information into Transmit and opens the FTP site.

I know both applications are sriptable, I'm just not sure how to get the info from filemaker into the script that Transmit requires.

A


here's part of a script that I use for transmit........ hope it helps....


========


tell application "Transmit"
set SuppressAppleScriptAlerts to true -- might err on long sessions

-- Create a new session window for the script
make new document at before front document

-- send commands to the frontmost document window
tell current session of document 1

if (connect to "ftp.mysite.com" as user "user" with password "password" with initial path "/public_html/myfolder") then

if (set their stuff to "/public_html/myfolder") then

(*
Begin synchronizing modified remote files with local files

Can specify the direction and method Transmit uses for synchronizing.
Direction can be: upload files / download files
Method can be: update / mirror
*)


upload item thestuff


else
display dialog ("An error occured, could not change remote folder to /public_html/myfolder")
end if


end if

end tell

end tell













Thanks, Dave email@hidden [db-10]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Filemaker and Transmit (From: David Erb <email@hidden>)

  • Prev by Date: Re: Can I map custom characters to normal uppercase equivalents?
  • Next by Date: Re: trying out UI browser and example
  • Previous by thread: Re: Filemaker and Transmit
  • Next by thread: Can I map custom characters to normal uppercase equivalents?
  • Index(es):
    • Date
    • Thread