[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] FTP tests fail on MS-Windows
From: |
Eli Zaretskii |
Subject: |
Re: [Bug-wget] FTP tests fail on MS-Windows |
Date: |
Sun, 21 Dec 2014 05:43:09 +0200 |
> From: Tim Rühsen <address@hidden>
> Date: Sat, 20 Dec 2014 22:16:16 +0100
>
> > > # FTP Server has to start with english locale due to use of
> > > strftime
> > >
> > > month names in LIST command
> > >
> > > setlocale(LC_ALL, 'C');
> > > $self->_launch_server(
> >
> > Thanks. But how can this explain the 'index.html' thingy appearing in
> > the FTP listing, instead of the expected afile.txt etc.?
>
> The .listing file can't be parsed correctly when the month names are
> incorrect.
I see. But then this is not the problem in my case. Here's the
listing I see in one of the FTP test logs:
226 Listing complete. Data connection has been closed.
-r--r--r-- 1 0 0 12 Dec 12:43 franτais.txt
2014-12-19 12:43:03 (362 KB/s) - '.listing' saved [48]
As you see, even though the file name includes non-ASCII characters,
the month name is in English (which is what I'd expect, given the
locale I have here).
> But I know, there are a few Windows users / developers reading this.
> Maybe they can help or bring some light !?
I certainly hope so.
Could the problem be that the listing has a CR-LF end-of-line format?
Could that interfere with its parsing?
Thanks.
- [Bug-wget] FTP tests fail on MS-Windows, Eli Zaretskii, 2014/12/19
- Re: [Bug-wget] FTP tests fail on MS-Windows, Tim Rühsen, 2014/12/20
- Re: [Bug-wget] FTP tests fail on MS-Windows, Eli Zaretskii, 2014/12/20
- Re: [Bug-wget] FTP tests fail on MS-Windows, Tim Rühsen, 2014/12/20
- Re: [Bug-wget] FTP tests fail on MS-Windows,
Eli Zaretskii <=
- Re: [Bug-wget] FTP tests fail on MS-Windows, Tim Rühsen, 2014/12/21
- Re: [Bug-wget] FTP tests fail on MS-Windows, Eli Zaretskii, 2014/12/21
- Re: [Bug-wget] FTP tests fail on MS-Windows, Tim Rühsen, 2014/12/21
- Re: [Bug-wget] FTP tests fail on MS-Windows, Gisle Vanem, 2014/12/22
- Re: [Bug-wget] FTP tests fail on MS-Windows, Eli Zaretskii, 2014/12/22