Solved

FreeBSD ftp problem downloading folders

Posted on 2009-05-04
6
519 Views
Last Modified: 2012-06-27
I would like to copy files from windows to FreeBSD box using ftp client. Unfortunately I can only download the files but not the folders with "mget" command.
can someone let me know if it's possible to download all the files and folders using ftp client?


thanks in advance.
0
Comment
Question by:stasila2010
  • 3
  • 3
6 Comments
 
LVL 7

Expert Comment

by:droyden
ID: 24296680
Try to use the ftp client "ncftp" rather than the relatively basic "ftp" client.
0
 

Author Comment

by:stasila2010
ID: 24296896
thanks for reply. what would be the command to get all the files and folders with ncftp?
0
 

Author Comment

by:stasila2010
ID: 24296972
I tried mget *.*    and getting this: get *.*: server said: File not exists
it's only download files but not folder, please advice.
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 7

Expert Comment

by:droyden
ID: 24297043
get -R dirname
will recursively get all files and folders within that dirname
0
 

Author Comment

by:stasila2010
ID: 24297088
I tried that too without any luck. it's not Logging in...

User logged in, proceed.
Logged in to 10.1.1.40.
ncftp / > get -R public_html/
ncftp / >


I'm getting no error but not files had been copied.
0
 
LVL 7

Accepted Solution

by:
droyden earned 250 total points
ID: 24297596
Try without the trailing / - although i've just tested it and it works fine with me;


ncftp /pub/linux/kernel > get -R v1.0/

tar: This does not look like a tar archive

tar: Error exit delayed from previous errors

v1.0/CHANGES:                                            6.13 kB    5.82 MB/s

v1.0/linux-1.0.patch.alpha.bz2:                         15.40 kB    9.11 MB/s

v1.0/linux-1.0.patch.alpha.bz2.sign:                   248.00 B  334.05 kB/s

v1.0/linux-1.0.patch.alpha.gz:                          15.74 kB   10.03 MB/s

v1.0/linux-1.0.patch.alpha.gz.sign:                    248.00 B  323.78 kB/s

v1.0/linux-1.0.patch.alpha.sign:                       248.00 B  307.74 kB/s

v1.0/linux-1.0.patch.pl15.bz2:                          93.17 kB   28.19 MB/s

--- snip ---

Open in new window

0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Finding a free PC on campus 6 63
WCAG (Web Content Accessibility Guidelines) levels 3 66
Cordova Camera plugin fails 2 93
Gulp not seeing Changes 4 35
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Problem to be resolved in this article Currently, development of website and web application can be done without writing thousands of lines of programming code by hand. Description This can be done through by using a open source framework such …
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

919 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now