Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

FreeBSD ftp problem downloading folders

Posted on 2009-05-04
6
Medium Priority
?
527 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
[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
  • 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
Plesk WordPress Toolkit

Plesk's WordPress Toolkit allows server administrators, resellers and customers to manage their WordPress instances, enabling a variety of development workflows for WordPress admins of all skill levels, from beginners to pros.

See why 2/3 of Plesk servers use it.

 
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 750 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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

715 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