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
The typical ftp server would shell out to ls -l
for the directory listing. I believe this output contains space characters which align the output, not tab characters.
The only way you can be certain as to why FileZilla is not parsing your directory listing is to get the open source for FileZilla and watch what is happening in the debugger. But I think you can make progress simply by duplicating the output of ls
as exactly as possible, including whitespace.