Search code examples
ftpfilezilla

FTP List Command Response Structure Issue


I've been beating my head against a wall on this issue so far. My server presently responds to the LIST -a command like this:

drwxr-xr-x 1 owner group          1 Feb 21 04:37 test
drwxr-xr-x 1 owner group     129024 Feb 21 11:05 tardis.mp3

For some reason, the second one is being parsed in Filezilla as a folder instead of a file. Long story short, it's not. I know I'm missing something. Filezilla seems to not be able to see the file size.

Here's a screenshot: File listing screenshot

Anyone have any thoughts on why Filezilla can't parse the file size? What am I missing?


Solution

  • The second line in the listing is a directory. It has d in the first character of the permissions field. The size doesn't matter, directories have a size field too.