• 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: Another Shell Script question ftp
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Fwd: Another Shell Script question ftp (From: Björn Lundin <email@hidden>)

  • Prev by Date: Re: Dealing with Sliders...
  • Next by Date: Re: Dealing with Sliders...
  • Previous by thread: Fwd: Another Shell Script question ftp
  • Next by thread: RE: Another Shell Script question ftp
  • Index(es):
    • Date
    • Thread