• 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: Doug McNutt <email@hidden>
  • Date: Tue, 7 Feb 2006 18:12:58 -0700

At 16:05 -0800 2/7/06, Stockly, Ed wrote:
>I'm writing a script that's picking up a file reference and needs to ftp the file to specific address based on info found in the file.
>Any suggestions? Anything to lookout for?

Learn about curl. It comes with OS neXt. You'll find it much easier to use than the ftp UNIX tool which really wants to be used with an operator to interpret signals from the other end.

Whether you choose the ftp or the curl tool check out the -n option which will allow you to keep passwords out of your script.

and. . . perl is a good way to go for finding information in the file but I wouldn't want to push you all the way out of AppleScript.

--
--> The Intelligent Designer managed to create the only species that kills its own members while claiming that it acts in accordance with God's word. <--
 _______________________________________________
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: 
 >Another Shell Script question ftp (From: "Stockly, Ed" <email@hidden>)

  • Prev by Date: Re: Determining the Default Mail App
  • Next by Date: Re: GUI applescripting FreeHand MX
  • Previous by thread: Another Shell Script question ftp
  • Next by thread: Re: Another Shell Script question ftp
  • Index(es):
    • Date
    • Thread