Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

wget command not working as expected

Posted on 2011-03-25
3
Medium Priority
?
352 Views
Last Modified: 2012-06-21
HI

Why is this command not working?

andrea@oscar:~/ensembl/data/homo_sapiens_core_61_37f$ wget -nc ftp://ftp.ensembl.org/pub/release-61/mysql/homo_sapiens_core_61_37f/
--2011-03-25 22:09:01--  ftp://ftp.ensembl.org/pub/release-61/mysql/homo_sapiens_core_61_37f/
           => `.listing'
Resolving ftp.ensembl.org... 193.62.203.113
Connecting to ftp.ensembl.org|193.62.203.113|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /pub/release-61/mysql/homo_sapiens_core_61_37f ... done.
==> PASV ... done.    ==> LIST ... done.

    [ <=>                                   ] 5,961       --.-K/s   in 0.04s  

2011-03-25 22:09:02 (158 KB/s) - `.listing' saved [5961]

Removed `.listing'.
Wrote HTML-ised index to `index.html' [13547].


It is only retrieving a listing of the files in the directory and not the files themselves

thanks
0
Comment
Question by:andieje
3 Comments
 
LVL 11

Accepted Solution

by:
nordtorp earned 2000 total points
ID: 35219661
You have only said wget -nc <directory>, try something like 'wget -nc --mirror -l1 <directory>.

wget www.website.com/ only retrieve the index file.
0
 
LVL 11

Expert Comment

by:yelbaglf
ID: 35219664
Try running it without the -nc option.
0
 

Author Comment

by:andieje
ID: 35220611
i already tried without nc
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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
Course of the Month21 days, 5 hours left to enroll

810 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