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".

Martin
Martin Visser, CISSP
Network and Security Consultant Consulting & Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia
Mobile: +61-411-254-513
Fax: +61-2-9022-1800 E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email 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 Simon
Sent: Monday, 20 June 2005 2:33 PM
To: SLug Users
Subject: [SLUG] Ftp get a directory

Hi all,
Can I use command line ftp to get a directory and it's contents
recursively?

------------------------------------
OLMC
Simon Bryan
IT Manager
[EMAIL PROTECTED]
LMB 14
North Parramatta
tel: 96833300
fax: 98901466
mobile: 0414238002
------------------------------------

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to