LinuxQuestions.org
Help answer threads with 0 replies.
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 06-25-2011, 03:15 AM   #1
hayloiuy
LQ Newbie
 
Registered: Apr 2011
Location: Malaysia
Distribution: Ubuntu
Posts: 6

Rep: Reputation: 0
Terminal wont download from ftp server!!


I wanna implement a GNUPG program which is a encryption program. Therefore i need to download the files. But the terminal wont download. It just show blank lines. This is what I typed in the terminal.

haloiuy(at)ubuntu:~/GNUPG/libassuan$ ftp ftp(dot)gnupg(dot)org
Connected to ftp(dot)gnupg(dot)org.
220-Welcome hacker!
220-.
220-This is an FTP server of the German Unix Users Group. It is operated by the
220-GnuPG and Mutt hackers and therefore you should report any unusual problems
220-to ftpmaster(at)gnupg(dot)org. Housing and traffic is sponsored by OpenIT GmbH.
220-.
220-The server contains cryptographic software and its use might be illegal in
220-your country. However, as far as we know, only a very few countries have
220-restrictions on the use of cryptographic software.
220-.
220 Service ready for new user.
Name (ftp(dot)gnupg(dot)org:haloiuy): anonymous
331 Send e-mail address as password.
Password:
230 User logged in, proceed.
Remote system type is UNIX.
ftp> cd gcrypt/libassuan/
250 Directory change successful.
ftp> mget *.bz2

from here onwards nothing happened. WHY!!Could it be i used virtual machine?
 
Old 06-25-2011, 03:48 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390
Hi,

I have the same problem with this site (just tried). Log-in works, changing directories work. A simple ls doesn't.

Although you might have a good reason to download all the packages in the specific directory (different versions of the same file), you could use your browser to download a specific version of the file.

Another option that works (assuming you do want all the bz2 files in that directory): wget.

The following seems to work:
Code:
wget -nd ftp://ftp.gnupg.org/gcrypt/libassuan/*bz2
The above will download all files in the directory you are standing in.

Hope this helps.
 
  


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
Perl script to download the files from FTP server peddip Linux - Server 4 03-23-2009 10:49 AM
ftp download other server complete tree + packaging gomanza Fedora 7 10-06-2006 01:53 PM
can i download from an ftp server direct to my c600 notebk without burning to cd? newmike Debian 9 07-28-2006 08:34 AM
How to download Hole directrory from FTP Server sumathi Linux - Networking 10 03-03-2006 12:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:07 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