Opened 19 months ago
Last modified 19 months ago
#12917 new Bug report
Directory Listing includes date as part of filename (again)
Reported by: | Alexander Trufanov | Owned by: | |
---|---|---|---|
Priority: | blocker | Component: | FileZilla Client |
Keywords: | Cc: | ||
Component version: | Operating system type: | Linux | |
Operating system version: |
Description
Hi,
I've just setup vsftpd 3.0.3 on Astra Linux server and trying to connect to it from Kubuntu 23.04 with FileZilla 3.63.0.
I'm able to connect, able to create a dir with name 1 in the empty folder, but when I'm refreshing the dir listing I'm getting a wrong dir names. They include a month and date along with a real dir name.
The dirs are created on server side with proper names. I can access them via the terminal.
ls -l on server side returns:
$ ls -l
drwx------ 2 ftp ftp 4096 мая 3 13:47 1
drwx------ 2 ftp ftp 4096 мая 3 13:51 2
there are two folders: 1 and 2 created on may 3. Locale is russian.
The Filezilla screenshot is attached.
FileZilla Client
Version: 3.63.0
Build information:
Compiled for: x86_64-pc-linux-gnu
Compiled on: x86_64-pc-linux-gnu
Build date: 2023-01-25
Compiled with: gcc (Ubuntu 12.2.0-14ubuntu1) 12.2.0
Compiler flags: -g -O2 -ffile-prefix-map=/build/filezilla-bncNiO/filezilla-3.63.0=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/build/filezilla-bncNiO/filezilla-3.63.0=/usr/src/filezilla-3.63.0-1 -Wall
Linked against:
wxWidgets: 3.2.1
SQLite: 3.40.1
GnuTLS: 3.7.8
Operating system:
Name: Linux 6.2.0-20-generic x86_64
Version: 6.2
CPU features: sse sse2 sse3 ssse3 sse4.1 sse4.2 avx aes pclmulqdq rdrnd lm
Settings dir: /home/user/.config/filezilla/
Attachments (2)
Change History (4)
by , 19 months ago
Attachment: | filezilla.log added |
---|
follow-up: 2 comment:1 by , 19 months ago
I recommend updating to a modern FTP server that supports the MLSD command. Alternatively you can switch the servers locale to English.
comment:2 by , 19 months ago
Replying to Tim Kosse:
I recommend updating to a modern FTP server that supports the MLSD command. Alternatively you can switch the servers locale to English.
Ok, I managed to workaround that by changing locale of only a vsftpd daemon.
One needs to crate a script file /usr/sbin/vsftpd.sh
#!/usr/bin/env bash LC_ALL=en_US.UTF-8 /usr/sbin/vsftpd /etc/vsftpd.conf
Make it executable with sudo chmod +x /usr/sbin/vsftpd.sh
And replace
ExecStart=/usr/sbin/vsftpd /etc/vsftpd.conf
with
ExecStart=/usr/sbin/vsftpd.sh
in /lib/systemd/system/vsftpd.service
Then retart vsftpd.
log