Re: vfs.c "Could not parse"



Hi!

Christian Gennerat wrote:

> 220 xxxxxxx FTP server (SunOS 5.7) ready.
>
> This FTP server outputs the file dates with Frech format:
>
> 150 ASCII data connection for /bin/ls (139.54.66.187,1071) (0 bytes).
> total 15740
> drwxr-xr-x   6 root     other        512 sep  26 16:52 .
> drwxr-xr-x   3 root     other        512 sep  25 14:43 ..
> drwxr-xr-x  13 root     other        512 sep  26 15:23 apache
> drwxrwsr-x  28 root     bin         1024 f.v   8  2001 ghost
> drwxr-xr-x   5 999      999          512 nov  27  2000 perl560
> drwxr-xr-x   9 999      999          512 nov   3  2000 tomcat
> -rw-r--r--   1 root     other    8042496 sep  26 16:51 TOMCAT.03.01.sol.tar
> 226 ASCII Transfer complete.
>
> The table in
> static int
> is_month (char *str, struct tm *tim)
> {
>     static char *month = "JanFebMarAprMayJunJulAugSepOctNovDec";
>
> is obviously an English table, and is good for most servers.
> what can we do ?

Some time ago we discussed this.  Then extended ftpfs URL with
locale specifiacation was proposed.  But it does not cure if you
have not required locale installed on your system.

Another way is to add possibility learn ftpfs about such locales.
But it seems noone in the team has wish and time (in such order)
to implement this feature.

Best regards,
Andrew.







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]