LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-09-2002, 04:59 PM   #1
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Rep: Reputation: 30
Question Ftp


Anyone knows how i can download a whole directory with ftp???

[root@LinuxSrv root]# ftp 192.168.0.6
Connected to 192.168.0.6 (192.168.0.6).
220 Backups by G6 FTP Server ready ...
(username) backup
331 Password required for backup.
Password:
ftp> mget Private
mget Assurantie? y
227 Entering Passive Mode (192,168,0,6,6,136).
550 'Assurantie' : No Such File.
mget Auto?
Continue with mget? n
ftp> pas
Passive mode off.
ftp> mget Private


And then nothing!
Anyone knows how i can download that whole Private directory???

Thanks!
 
Old 09-09-2002, 05:02 PM   #2
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
cd Private
prompt off
mget *
 
Old 09-10-2002, 05:49 AM   #3
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Original Poster
Rep: Reputation: 30
Ok, Thanks!!!
 
Old 09-10-2002, 12:51 PM   #4
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Original Poster
Rep: Reputation: 30
Didnt work

ftp> cd Private
250 CWD command successful. "/Private" is current directory.
ftp> prompt off
Interactive mode off.
ftp> mget *
local: games remote: games
227 Entering Passive Mode (192,168,0,6,6,158).
550 'games' : No Such File.
local: Auto remote: Auto
227 Entering Passive Mode (192,168,0,6,6,159).
550 'Auto' : No Such File.
local: Games2 remote: Games2
426 Cannot retrieve.Aborting.
Passive mode refused.
ftp> pas
Passive mode off.
ftp> mget *
ftp>

when i turn passive mode off and i type mget * nothing happens. I just need to download the complete directory structure.
 
Old 09-10-2002, 01:25 PM   #5
Calum
Member
 
Registered: Mar 2002
Location: London
Distribution: Red Hat 9
Posts: 302

Rep: Reputation: 30
what's the actual directory listing of /Private ?
 
Old 09-10-2002, 02:48 PM   #6
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Original Poster
Rep: Reputation: 30
c:\Private

But i already have another solution.
Thanks guys!
 
Old 09-10-2002, 02:49 PM   #7
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Original Poster
Rep: Reputation: 30
i wanted to make a backup of a windows machine
 
Old 09-10-2002, 04:15 PM   #8
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
try this:

wget -m ftp://windows_ip_address

-m means to make a mirror

man wget for more details.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ftp(through web site access to ftp server) kelper Linux - Software 4 07-03-2015 06:14 PM
ftp server - Pure ftp - logs in OK but no files visible tp11235 Linux - Networking 2 08-30-2005 06:11 AM
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 05:24 PM
problem with ftp on mandrake 10.1 Official, ftp speeds system wide (anybody noticed?) equinox Mandriva 15 11-10-2004 03:07 PM
how can I restrict ftp users listing files from a pure-ftp server adrianmak Linux - Networking 2 12-31-2002 09:23 AM


All times are GMT -5. The time now is 10:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration