PDA

View Full Version : Wget on CentOS doesn't work correctly.


webking
5th December 2007, 03:29
This command I use that works on one of my server. But not on another. What could be the issue?

wget -rc --no-clobber ftp://USER:PASS@mydomain.com/public_html/files/

Issue:

[root@dns web]# wget -rc --no-clobber ftp://USER:PASS@mydomain.com/public_html/files/
--20:21:49-- ftp://mydomain.com/public_html/files/
=> `mydomain.com/public_html/files/.listing'
Resolving mydomain.com... 72.xx.xx.xx
Connecting to quancafe.com|72.xx.xx.xx|:21... connected.
Logging in as quancafe ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /public_html/files ... done.
==> PASV ... done. ==> LIST ... done.

[ <=> ] 893 --.-K/s in 0.07s

20:22:00 (12.2 KB/s) - `mydomain.com/public_html/files/.listing' saved [893]

Removed `mydomain.com/public_html/files/.listing'.
Wrote HTML-ized index to `mydomain.com/public_html/files/index.html' [2023].

THE THING here is that there are FILES under /files folder and there is no index.html file. I dont know whats' wrong with this server?

This command works excellent on one server that runs Cpanel but not on this dedicated server I have.

Help...