Re: Scripting Terminal for simple FTP
Re: Scripting Terminal for simple FTP
- Subject: Re: Scripting Terminal for simple FTP
- From: Andrew Oliver <email@hidden>
- Date: Tue, 01 Apr 2003 15:06:33 -0800
Fair point, Paul, although your approach is more along the lines of
stringing multiple commands together rather than being able to interact with
each command while it's running.
In this specific case, the question related to controlling the ftp
connection, and that can't be done, even with semi colon-separated commands
passed in the 'do shell script'.
Andrew
:)
On 4/1/03 11:37 AM, "Paul Skinner" <email@hidden> wrote:
>
On Tuesday, April 1, 2003, at 01:21 PM, Andrew Oliver wrote:
>
>
> That's exactly how 'do shell script' works. It takes a single command
>
> and
>
> sends it to a new shell. There is no interaction with that command
>
> while
>
> it's running.
>
>
>
> In short, you can't use 'do shell script' to interact with a terminal.
>
>
snip
>
>
> Andrew
>
>
That's not entirely true Andrew. You can string multiple commands
>
together with simicolons, or run a document containing multiple
>
commands that each act on the results of the previous commands. Not
>
'exactly' interactive, but virtually interactive.
>
>
Paul Skinner
>
_______________________________________________
>
applescript-users mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/applescript-users
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.