Empty filesize with FileZilla (SFTP) but OK in WinSCP

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
jakedan
500 Command not understood
Posts: 4
Joined: 2021-08-27 07:48
First name: jake
Last name: dan

Empty filesize with FileZilla (SFTP) but OK in WinSCP

#1 Post by jakedan » 2021-08-27 08:23

Hi,

I'm using FileZilla client 3.55.1 (x64) on Windows 10

Server : CentOS Linux release 8.2 with SSHD (openssh-server-8.0p1-4.el8_1.x86_64) with chroot users.

When I browse directory with FileZilla filesize is zero and permissions are empty, but I can download the file and the content is fine :
fz_bug1.png
fz_bug1.png (17.78 KiB) Viewed 1476 times


If I edit permissions I see "xxx" :
fz_bug2.png
fz_bug2.png (12.76 KiB) Viewed 1476 times

With raw display I obtain the user1:sftpgrp information, but filesize is always zero byte :

Code: Select all

Contenu :	drwxr-xr-x    2 user1 sftpgrp     4096 Jul 29 15:11 .
Contenu :	drwxr-xr-x    2 user1 sftpgrp        0 Feb 23  2021 ..
Contenu :	drwxr-xr-x    2 user1 sftpgrp        0 Feb 23  2021 cl.....name-of-the-file
Contenu :	drwxr-xr-x    2 user1 sftpgrp        0 Jun 22 07:57 cl.....name-of-the-file
Contenu :	drwxr-xr-x    2 user1 sftpgrp        0 Aug 23 08:17 cl.....name-of-the-file
Contenu :	drwxr-xr-x    2 user1 sftpgrp        0 Mar 24 13:51 cl.....name-of-the-file
Contenu :	drwxr-xr-x    2 user1 sftpgrp        0 Feb 24  2021 cl.....name-of-the-file
Contenu :	drwxr-xr-x    2 user1 sftpgrp        0 Feb 24  2021 cl.....name-of-the-file
Contenu :	drwxr-xr-x    2 user1 sftpgrp        0 Mar 30 15:49 cl.....name-of-the-file
Contenu :	drwxr-xr-x    2 user1 sftpgrp        0 Apr  1 12:18 cl.....name-of-the-file
Contenu :	drwxr-xr-x    2 user1 sftpgrp        0 Jun 22 08:12 cl.....name-of-the-file
Listing works fine with WinSCP and MobaXterm. Seems to be a FileZilla issue ?

Thank you for your help

User avatar
botg
Site Admin
Posts: 35562
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: Empty filesize with FileZilla (SFTP) but OK in WinSCP

#2 Post by botg » 2021-08-27 15:14

Directories never have a size, it is not defined for them.

I cannot reproduce the lack of permissions and owner/group using SFTP. Against multiple different versions of OpenSSh they show up fine.

jakedan
500 Command not understood
Posts: 4
Joined: 2021-08-27 07:48
First name: jake
Last name: dan

Re: Empty filesize with FileZilla (SFTP) but OK in WinSCP

#3 Post by jakedan » 2021-08-30 11:31

Hi botg

you're right for directory, but permissions are empty. With files the filesize and permissions are empty
I can precise that the issue appears with a DFS mount on linux server, when I browse a local directory filezise is good. With WinSCP both are good.

How can I collect and send logs to you (not in a public way) ?
Best

User avatar
botg
Site Admin
Posts: 35562
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: Empty filesize with FileZilla (SFTP) but OK in WinSCP

#4 Post by botg » 2021-08-31 07:58

I'm not familiar with the acronym, what is DFS?

jakedan
500 Command not understood
Posts: 4
Joined: 2021-08-27 07:48
First name: jake
Last name: dan

Re: Empty filesize with FileZilla (SFTP) but OK in WinSCP

#5 Post by jakedan » 2021-08-31 08:05

It's a Microsoft Distributed File System (wikipedia)

jakedan
500 Command not understood
Posts: 4
Joined: 2021-08-27 07:48
First name: jake
Last name: dan

Re: Empty filesize with FileZilla (SFTP) but OK in WinSCP

#6 Post by jakedan » 2021-10-05 18:17

So, no idea why it works with WinSCP (and others clients) but not with FileZilla Client ?

Post Reply