Opened 11 years ago

Last modified 10 years ago

#8590 reopened Bug report

Directory listing with proftpd mod_sftp

Reported by: Moltes Owned by:
Priority: normal Component: FileZilla Client
Keywords: Cc:
Component version: Operating system type: Windows
Operating system version:

Description

Hi,

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 ?

Attachments (1)

log.txt (4.5 KB ) - added by mk74 10 years ago.
log raw directory listening

Download all attachments as: .zip

Change History (6)

comment:1 by Moltes, 11 years ago

Resolution: invalid
Status: newclosed

comment:2 by Boris Savelev, 11 years ago

Hello!

I have same issue with
ProFTPD 1.3.4a standalone mode
mod_sftp/0.9.8
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:

SetEnv TZ :/etc/localtime
SetEnv LANG: C.UTF-8
SetEnv LC_ALL: C.UTF-8

comment:3 by mk74, 10 years ago

Priority: highnormal
Resolution: invalid
Status: closedreopened

Hello !

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 Alexander Schuch, 10 years ago

Status: reopenedmoreinfo_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 mk74, 10 years ago

Attachment: log.txt added

log raw directory listening

comment:5 by mk74, 10 years ago

Status: moreinfo_reopenedreopened

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.

Note: See TracTickets for help on using tickets.