> From: Tim Rühsen <[email protected]> > 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.
