Plain vanilla ftp won't do this. (you could script it though)
The preferred method (assuming you don't have rsync on the server) is to
use wget.
Martin
Martin Visser, CISSP
Network and Security Consultant
Consulting Integration
Technology Solutions Group - HP Services
410 Concord Road
Can I use command line ftp to get a directory and it's
contents recursively?
Yes. :)
The mget command (as opposed to get) may work recursively for you inside an ftp
client depending on the client/server.
Otherwise, use wget with the --recursive option. I believe it to be a more
and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Roger Barnes
Sent: Monday, 20 June 2005 2:42 PM
To: [EMAIL PROTECTED]; SLug Users
Subject: RE: [SLUG] Ftp get
with ftp
just go
ftp host.name
user ftp
pass [EMAIL PROTECTED]
prompt
recurse
binary
cd /pub/
mget [directory]
exit
Dean
Visser, Martin wrote:
Plain vanilla ftp won't do this. (you could script it though)
The preferred method (assuming you don't have rsync on the server) is to
use wget.
youll want the 'prompt' option with 'recurse'
or youll need a new 'y' key
you can also use wildcards
recurse and prompt are good in MS's ftp.exe
dont overlook 'binary' or you might kick yourself
and also 'passive'
Dean
Dean Hamstead wrote:
with ftp
just go
ftp host.name
user ftp
pass
Thanks all, wget it is then
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Roger Barnes
Sent: Mon, 20. June 2005 2:42 PM
To: [EMAIL PROTECTED]; SLug Users
Subject: RE: [SLUG] Ftp get a directory
Can I use command line ftp to get a directory and it's
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Simon wrote:
Hi all,
Can I use command line ftp to get a directory and it's contents
recursively?
I've had best results with ncftpget, which is part of the ncftp package.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)