wget command not working as expected

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
andiejeAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
nordtorpConnect With a Mentor Commented:
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
 
yelbaglfCommented:
Try running it without the -nc option.
0
 
andiejeAuthor Commented:
i already tried without nc
0
All Courses

From novice to tech pro — start learning today.