Opened 10 years ago
Last modified 9 years ago
#8590 reopened Bug report
Directory listing with proftpd mod_sftp
|Reported by:||Moltes||Owned by:|
|Component version:||Operating system type:||Windows|
|Operating system version:|
Here is my problem.
When I do Directory Listing of an SFTP Server running ProFTPD 1.3.4b with mod_sftp 0.9.8, I see Filezilla Client 3.5.3 reporting me that there are some directories whose name are including their last writing date :
"avril 8 14:48 <directory name>"
I checked the same server with Windows client version, Linux Client version : it's the same problem.
I checked with WinSCP client under Windows and all is OK.
I checked with the last version of proftpd 1.3.4c and the problem still appear with FileZilla Client
I want to say that during last month, everything was OK with proftpd 1.3.4b/Mod_sftp 0.9.8 versions.
I checked sftp with openssh soft and everything is OK.
But, the difference I noticed is that with the same host, running directory listing under mod_sftp returns me a list of files whose date are in french (eg : 'avril' for the 4th month) whereas with openssh, the same directory listing returns me a list of files with a date in english (eg : Apr for the 4th month).
Can you confirm me that there is a FilleZilla issue ?
Change History (6)
comment:1 by , 10 years ago
|Status:||new → closed|
comment:2 by , 9 years ago
comment:3 by , 9 years ago
|Priority:||high → normal|
|Status:||closed → reopened|
I have same issue and this solution don't work. The server is running ProFTPD 1.3.4b with mod_sftp 0.9.8 and my Filezillia client is the latest ( 3.8 ).
I've tried to set different dates for a file on the server with the command touch :
touch -d '2004-02-29 16:21:42' test touch -d '2014-04-29 16:21:42' test touch -d '2014-03-21 16:21:42' test touch -d '2014-11-21 16:21:42' test touch -d '2014-09-21 16:21:42' test touch -d '2014-05-21 16:21:42' test touch -d '2014-04-21 16:21:42' test
The problem appears each time the date is in april.
comment:4 by , 9 years ago
|Status:||reopened → moreinfo_reopened|
Can you please provide logs with enabled raw directory listing and a few lines of explanation where to find the issue in the logs?
by , 9 years ago
log raw directory listening
comment:5 by , 9 years ago
|Status:||moreinfo_reopened → reopened|
At line 45 of attachment the directory listing seems Ok but visually I’ve got "4 Avril " for filename. If select one of these directory it send "cd 4 Avril..." to the server...
The directory "out", last modified on January, is visually ok and i can go in.
I have same issue with
ProFTPD 1.3.4a standalone mode
on Debian Wheezy
This happened because after chroot user on server in mod_sftp it set default env with LANG and LC_*
If these env not "C" (french, russian, etc) it may probably produce troubles for filezilla parser
Solution for proftpd + mod_sftp is append to proftpd configuration something like this: