Solved

ftp download of an entire directory

Posted on 1999-01-08
8
523 Views
Last Modified: 2013-12-15
I'm trying to download the mandrake CD-ROM to install mandrake, but I can't figure out how to download an entire
directory.
The directory is named 5.2. I've tried two things with the following unsuccessful results:
  ftp> get -R 5.2
  local: 5.2 remote: -R
  200 PORT command successful.
  550 -R: No such file or directory.

  ftp> bin
  200 Type set to I.
  ftp> hash
  Hash mark printing on (1024 bytes/hash mark).
  ftp> get 5.2.tar.gz
  local: 5.2.tar.gz remote: 5.2.tar.gz
  200 PORT command successful.
  150 Opening BINARY mode data connection for /bin/tar.
  226 Transfer complete.

  but, it doesn't download anything (I get 0MB for      5.2.tar.gz)

 Any suggestions? Do I need a different ftp tool (I have ftp-0.10-3)? Can it be done through Netscape?

Thanks,
Dave
0
Comment
Question by:djc2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1632087
ftp> prompt
ftp> cd dir
ftp> mget *
0
 

Author Comment

by:djc2
ID: 1632088
This doesn't work. It gets the files in the immediate directory, but it doesn't get the files in the subdirectories. For example:
  local: Mandrake/i386 remote: Mandrake/i386
  local: Mandrake/i386: No such file or directory

I believe the problem is that the subdirectories don't exist on my local computer, and this command can't create them.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1632089
ftp cannot get directories recursively :-(
try if you find, or can manage to create, a tar file of the directory
0
Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

 

Author Comment

by:djc2
ID: 1632090
That's a bummer.

What I did was I tried 4 different mirrors until I found one that supported the: get 5.2.tar.gz. I found one (ftp.sunet.se), so that's what I'm doing now. Thanks!

Post your comment as an answer and I'll give you an A (it wasn't the answer I was hoping for ... but that's not your fault! it's ftp's fault.)

Thanks,
Dave
0
 

Expert Comment

by:screwdriver
ID: 1632091
I think the "mget" command in ncftp will solve your problem. It can dl the entire files in a directory (including files in subdir). Look at ncftp at http://rufus.w3.org/linux/RPM
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1632092
djc2, probably ncftp can do what you want. Check it first.
0
 
LVL 1

Accepted Solution

by:
mallah earned 50 total points
ID: 1632093
2 simple steps.

1. Get wxftp  wxftp-0.4.0-1.i386.rpm ( 62 Kb) the coolest ftp
      client form powertools directory at ftp.redhat.com.
2. select a directory on the source side. click the  <- button
   to fetch all the directorys and sub-directories                    recursively.

It MUST work I have used it.
0
 

Author Comment

by:djc2
ID: 1632094
Thanks.
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question