Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

mget + mput in quiet mode / no questions ?

1,514 views
Skip to first unread message

Gerd Pohlmann

unread,
Jul 26, 2002, 11:42:02 AM7/26/02
to
If I am using mget to retrieve several files through ftp according to a given file mask
I am asked for each file if I want to get file abcdef.xxx ?

Is there a parameter which enables me to tell ftp:
"Shut up ftp - get all fitting files and don't ask me any more"

Regards
Gerd

Vigil

unread,
Jul 28, 2002, 7:52:37 AM7/28/02
to
'prompt off'

Gerd Pohlmann had the audacity to claim:

> Is there a parameter which enables me to tell ftp: "Shut up ftp - get
> all fitting files and don't ask me any more"

--

.

Bill Marcum

unread,
Jul 28, 2002, 7:59:04 AM7/28/02
to
prompt

Kevin R. Pacek

unread,
Jul 28, 2002, 8:00:41 AM7/28/02
to

Type "verbose" at the FTP> prompt.

-krp

davide...@davidebianchi.net

unread,
Jul 28, 2002, 8:34:45 AM7/28/02
to
In comp.os.linux.misc Gerd Pohlmann <gp...@redseven.de> wrote:
> If I am using mget to retrieve several files through ftp according k

> to a given file mask
> Is there a parameter which enables me to tell ftp:
> "Shut up ftp - get all fitting files and don't ask me any more"

prompt off

Davide

Patrick Echterbruch

unread,
Jul 28, 2002, 8:40:17 AM7/28/02
to
On Fri, 26 Jul 2002 17:42:02 +0200
gp...@redseven.de (Gerd Pohlmann) wrote:

[..]


> Is there a parameter which enables me to tell ftp:
> "Shut up ftp - get all fitting files and don't ask me any more"

[..]

Try "prompt".
Response should read like "prompt off"

Patrick
--
If you need to reply by email, please remove the first part of
the domain (including the hyphen) of the reply-to adress.

Dances With Crows

unread,
Jul 28, 2002, 9:07:53 AM7/28/02
to

Your FTP client must be a bit old. "lukemftp", the enhanced
command-line FTP client available for Linux/*BSD (probably other
systems, you should post the Unix version you're using) will give you a
range of options when you use mget with a glob. One of these options is
"a", get all files matching the glob without prompting.

"ncftp" is also a popular command-line FTP client that can do this. Or
you can use wget, it will match globs too.

--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /
http://www.brainbench.com / "He is a rhythmic movement of the
-----------------------------/ penguins, is Tux." --MegaHAL

Scott McMillan

unread,
Jul 28, 2002, 9:17:29 AM7/28/02
to
On Fri, 26 Jul 2002 17:42:02 +0200, gp...@redseven.de (Gerd Pohlmann)
wrote:

Looking at the number of groups you posted to I can't determine what
OS/version your question pertains to, but on my SCO Openserver 5.0.6
system 'man ftp' gives me the following:

-i Turn off interactive prompting during multiple file transfers.

Scott McMillan

Vic Abell

unread,
Jul 28, 2002, 9:59:57 AM7/28/02
to
gp...@redseven.de (Gerd Pohlmann) writes:

ftp> prompt
Interactive mode off.
ftp>

Ian Peattie

unread,
Jul 28, 2002, 10:26:14 AM7/28/02
to

'prompt'

Ian.

Greg Martin

unread,
Jul 28, 2002, 10:40:22 AM7/28/02
to
On Fri, 26 Jul 2002 17:42:02 +0200, gp...@redseven.de (Gerd Pohlmann)
wrote:

>If I am using mget to retrieve several files through ftp according to a given file mask

ftp -i
Turns off interactive mode on varietals I use.

Karl E. Taylor

unread,
Jul 28, 2002, 12:59:48 PM7/28/02
to
ftp -i hostname
or
ftp>prompt

either one of those will stop the prompting during multiple file
operations.


Karl E. Taylor
UNIX Geek

Chris F.A. Johnson

unread,
Jul 28, 2002, 1:00:49 PM7/28/02
to

ftp -i remote-machine

--
Chris F.A. Johnson http://cfaj.freeshell.org
===================================================================
My code (if any) in this post is copyright 2002, Chris F.A. Johnson
and may be copied under the terms of the GNU General Public License

Greg Andrews

unread,
Jul 28, 2002, 1:18:17 PM7/28/02
to

The man page says "prompt".

-Greg
--
Do NOT reply via e-mail.
Reply in the newsgroup.

Eric Price

unread,
Jul 28, 2002, 1:53:49 PM7/28/02
to

The prompt command is what you want. This turns off prompting for the
multiple files. Hash is a neat command as well.

mjt

unread,
Jul 28, 2002, 2:50:49 PM7/28/02
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

Gerd Pohlmann wrote:

cripe sakes ... "man ftp", first page:
-i Turns off interactive prompting during multiple file transfers.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Michael J. Tobler: motorcyclist, surfer, # Black holes result
skydiver, and author: "Inside Linux", # when God divides the
"C++ HowTo", "C++ Unleashed" # universe by zero

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9RDzYtTveLPAHcDIRAjKMAJ9Jwpz4r9+uCfA3Oc1y0blWqBSoJwCfbUBM
mXEMhFqrHZBHajV9kA6gxs0=
=oT1D
-----END PGP SIGNATURE-----

b...@atl.hp.com

unread,
Jul 28, 2002, 11:11:17 PM7/28/02
to

Sure. Issue the PROMPT command to toggle the asking off as in:

ftp somplace.domain.com << EOF
user username pw
cd /someplace
binary
prompt
mget *.ps
bye
EOF

--

Bill 'shortsig' Hassell, HP Remote Engineering Services

srivenu

unread,
Jul 29, 2002, 1:00:11 AM7/29/02
to
ftp> prompt

s. keeling

unread,
Jul 29, 2002, 6:11:02 PM7/29/02
to
On Fri, 26 Jul 2002 17:42:02 +0200, Gerd Pohlmann <gp...@redseven.de>:

prompt
mget *

--
Any technology distinguishable from magic is insufficiently advanced.
(*) TopQuark Software & Services. Contract programmer, server bum.
- - Give up Spammers; I use procmail. www.spots.ab.ca/~keeling
How to quote: http://learn.to/quote (Ger.) http://quote.6x.to (Eng.)

Patrick

unread,
Aug 13, 2002, 4:05:38 PM8/13/02
to
gp...@redseven.de (Gerd Pohlmann) wrote in message news:<ahrqka$3ci$00$1...@news.t-online.com>...

Prompt command.

Jukka Inkeri

unread,
Aug 14, 2002, 12:22:35 AM8/14/02
to

or use command option -i
$ ftp -i host

-jukka-

0 new messages