Re: Another Shell Script question ftp
Re: Another Shell Script question ftp
- Subject: Re: Another Shell Script question ftp
- From: Malcolm Fitzgerald <email@hidden>
- Date: Sat, 11 Feb 2006 11:48:08 +1100
8 feb 2006 kl. 01.05 skrev Stockly, Ed:
do shell script "ftp -R -u " & myUserid & " -p " & myPassword & " "
& myServer & " " & myRemotePath & myFile
What I'm hoping for is a solid, stable command that will allow me to
trap errors.
Any suggestions? Anything to lookout for?
On 10/02/2006, at 6:42 AM, Björn Lundin wrote:
This is why expect was written.
To automate interactive shell program sessions,
and to act in different ways, depending on answer from the other side.
I think I got Malcom Fitzgerald to try it, so if he is still around,
he might tell you about his adventures in learning TCL (on which
expect is build upon)
Here I am, Björn posted me a shell script which automates an ftp
session. You can attach it to a folder as an action. Then you can use
the folder as a drop box for your FTP site. It works perfectly for me.
Should I forward it to the list?
Malcolm
-- looking for new and interesting work
_______________________________________________
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