[plug] FTP shortcuts
The Thought Assassin
assassin at live.wasp.net.au
Tue Sep 12 14:49:21 WST 2000
On Tue, 12 Sep 2000, Steve Baker wrote:
> From: "David Griffiths" <griffith at environ.wa.gov.au>
> > if you're just using plain old ftp using "mget" can be handy. It allows
> > you to say "mget kernel*" and asks you to type y/n for each match.
> > Better than typing full file names.
> and if you say 'prompt n' before that, it won't ask y/n for each one either.
This is not, strictly speaking, accurate:
gmild at retsina:~$ ftp
ftp> prompt
Interactive mode off.
ftp> prompt n
Interactive mode on.
ftp> prompt y
Interactive mode off.
ftp> prompt off
Interactive mode on.
ftp> prompt on
Interactive mode off.
ftp> prompt ly turn interactive mode off please
Interactive mode on.
As you can see, the "prompt" command merely toggles the state, ignoring
the parameter. You will need to make sure that the response from the ftp
client is "Interactive mode off.", which it should be on the first
invocation of "prompt", since the default is almost always "on".
-Greg Mildenhall
More information about the plug
mailing list