Re: ftp transfer
Re: ftp transfer
- Subject: Re: ftp transfer
- From: Rajeev Kumar <email@hidden>
- Date: Thu, 30 Sep 2004 04:51:48 +0100 (BST)
Hi here I am giving some code I have run this code on
my machine and it is working fine.
tell application "Finder"
activate
select file "Fetch 3.0" of folder "Alias"
open selection
end tell
tell application "Fetch 3.0"
activate
make new transfer window at beginning with properties
{hostname:" ", userid:" ", password:" "}
open remote item " "
open remote item " "
copy remote folder to beginning of alias "HD:Desktop
Folder:untitled folder:"
close window
end tell
You have provide host name, password, and user id and
then set the location. You can also use record
facility in apple script.
Rajeev
--- email@hidden wrote:
> Send Applescript-users mailing list submissions to
> email@hidden
>
> To subscribe or unsubscribe via the World Wide Web,
> visit
>
>
http://lists.apple.com/mailman/listinfo/applescript-users
> or, via email, send a message with subject or body
> 'help' to
> email@hidden
>
> You can reach the person managing the list at
> email@hidden
>
> When replying, please edit your Subject line so it
> is more specific
> than "Re: Contents of Applescript-users digest..."
>
>
> Today's Topics:
>
> 1. Re: Create record in FileMaker (Bernardo Hoehl
> / Gessos Rutenium)
> 2. RE: Create record in FileMaker (Steve Suranie)
> 3. RE: Create record in FileMaker (Steve Suranie)
> 4. ftp transfer (email@hidden)
> 5. Re: Getting human-understandable time from
> iCal (Nigel Garvey)
> 6. Re: GUI screen capture? (Bill White)
> 7. How to reload pages in tabs (Stephen Lanza)
> 8. Re: How to reload pages in tabs (Dave
> Balderstone)
> 9. sort order (Preston Smith)
> 10. Re: How to parse a textfile ? (Emmanuel)
> 11. Re: GUI screen capture? (Emmanuel)
> 12. Re: GUI screen capture? (Bill White)
> 13. Re: igPay atinLay, second pass (Michelle
> Steiner)
> 14. Re: igPay atinLay, second pass (Martin Orpen)
> 15. Re: How to parse a textfile ? (has)
> 16. Re: sort order (Graff)
>
>
>
----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 29 Sep 2004 09:59:48 -0300
> From: Bernardo Hoehl / Gessos Rutenium
> <email@hidden>
> Subject: Re: Create record in FileMaker
> To: "Lawrence B. Camp" <email@hidden>
> Cc: email@hidden
> Message-ID:
> <email@hidden>
> Content-Type: text/plain; charset="windows-1252"
>
> This is just a tip from a novice user:
>
>
> Open your script editor app, and type this code:
>
> choose file
>
> Run the script, choose your file, and watch for the
> result.
>
> Then just copy the resulted path to your code.
>
> Hope this helps.
>
> Bernardo Höhl
> Rio de Janeiro - Brazil
>
> ================
>
>
> On 29 Sep, 2004, at 12:10 AM, Lawrence B. Camp
> wrote:
>
> > I would appreciate some basic help with an
> AppleScript to create a
> > record in a FileMaker database. The FM database
> will be running when
> > the AppleScript runs. The FM file is:
> FaxRecordResponse.fp7.
> >
> > Here what I have now:
> >
> > tell application "FileMaker Developer"
> > open file "FaxRecordResponse.fp7"
> > create record with data {"Texas", "12548",
> "abc"}
> > end tell
> >
> > FileMaker returns the error that
> FaxRecordResponse.fp7 could not be
> > opened (not found).
> >
> > How do I tell FileMaker where to find the file?
> Currently its on
> > the desktop. Ive tried the script with the file
> open and the error
> > is the same.
> >
> > Thanks for your help,
> >
> > --
> > Lawrence B. Camp
> > email@hidden
> >
> > _______________________________________________
> > Do not post admin requests to the list. They will
> be ignored.
> > Applescript-users mailing list
> (email@hidden)
> > Help/Unsubscribe/Update your Subscription:
> >
>
>
> > email@hidden
> >
> > This email sent to email@hidden
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: text/enriched
> Size: 2728 bytes
> Desc: not available
> Url :
>
http://lists.apple.com/mailman/private/applescript-users/attachments/20040929/2c345730/attachment.bin
>
> ------------------------------
>
> Message: 2
> Date: Wed, 29 Sep 2004 09:01:15 -0400
> From: "Steve Suranie" <email@hidden>
> Subject: RE: Create record in FileMaker
> To: <email@hidden>
> Message-ID:
>
>
<email@hidden>
> Content-Type: text/plain; charset="iso-8859-1"
>
> This might help
>
> set thePath to path to desktop as alias
> set dbPath to (thePath as string) &
> "FaxRecordResponse.fp7" as alias
>
> tell application "Filemaker Developer"
> try
>
> openDB(dbPath)
>
> tell front document
> set thisRecord to create new record
> set cell "FIELD NAME GOES HERE" of thisRecord to
> "Texas"
> set cell "FIELD NAME GOES HERE" of thisRecord to
> "12548"
> set cell "FIELD NAME GOES HERE" of thisRecord to
> "abc"
> end tell
>
> on error errMsg
> display dialog "There was an error in Filemaker
> Developer" & return & return & errMsg
> end try
> end tell
>
> on openDB(dbPath)
> set dbName to last text item of (dbPath as string)
> set dbPath to dbPath as alias
> tell application "FileMaker Pro"
> set dbCount to count of every document
> if dbCount > 0 then
> repeat while name of front document ? dbName
> close front document
> end repeat
> else
> open dbPath
> end if
> end tell
> end openDB
>
>
> > ----------
> > From:
>
applescript-users-bounces+ssuranie=email@hidden
> on behalf of Lawrence B. Camp
> > Sent: Tuesday, September 28, 2004 11:10 PM
> > To: email@hidden
> > Subject: Create record in FileMaker
> >
> > <<File: ATT586494.txt>>
> > I would appreciate some basic help with an
> AppleScript to create a record in a FileMaker
> database. The FM database will be running when the
> AppleScript runs. The FM file is:
> FaxRecordResponse.fp7.
> >
>
=== message truncated ===
________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden