Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 529
  • Last Modified:

FreeBSD ftp problem downloading folders

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
stasila2010
Asked:
stasila2010
  • 3
  • 3
1 Solution
 
droydenCommented:
Try to use the ftp client "ncftp" rather than the relatively basic "ftp" client.
0
 
stasila2010Author Commented:
thanks for reply. what would be the command to get all the files and folders with ncftp?
0
 
stasila2010Author Commented:
I tried mget *.*    and getting this: get *.*: server said: File not exists
it's only download files but not folder, please advice.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
droydenCommented:
get -R dirname
will recursively get all files and folders within that dirname
0
 
stasila2010Author Commented:
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
 
droydenCommented:
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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now