FTP List format

Posted by Yvan JANSSENS on Stack Overflow See other posts from Stack Overflow or by Yvan JANSSENS
Published on 2010-03-14T17:19:32Z Indexed on 2010/03/14 17:25 UTC
Read the original article Hit count: 307

Filed under:
|
|

Hi,

I'm writing an embedded ftp server, and I cannot get the listing format correctly. The server works completely, only programs like FileZilla cannot interpret the listing format. Here's a sample listing:

-rwxr--r--  1   owner   group 640   1970 01 01  test
-rwxr--r--  1   owner   group 13440 1970 01 01  test.html
-rwxr--r--  1   owner   group 512   1970 01 01  test2.txt

Which is basically:

permissions[tab]number?[tab]owner[tab]group[tab]filesize[tab]date[tab]filename 

What am I doing wrong?

Thanks, Yvan

© Stack Overflow or respective owner

Related posts about ftp

Related posts about server