On 1 Sep 2001, at 4:25, Laurent Martelli wrote:

> I'm trying to mirror some files located on a ftp server with wget. But
> I can't get it to work. Here's the command that I run :
> 
> wget -r -l inf -nr -S -P$HOME/backups/bearteam -nH ftp://www.bearteam.org/bearteam/

[snip]

> --> LIST
> 
> 150 Opening BINARY mode data connection for /bin/ls.
> 
>     0K                                                        @  27,99 KB/s
> 
> 226 Transfer complete.
> total 40
> 
> drwxr-sr-x    2 laurent  laurent      4096 ao 10 19:56 arban
> 
> -rw-r--r--    1 laurent  laurent       494 jui  9 10:17 basic.css

[snip]

Wget is having trouble parsing the /bin/ls listing because the 
abbreviated month names are in French.

You could try persuading your FTP server to run in the standard default 
"C" locale. I've never done that, but I think it involves unsetting the 
LANG environment variable in the script that starts your FTP server.

Reply via email to