LIST file expects short file name without dir
Posted: 2024-01-14 04:48
Hello,
I am facing an issue with an older FTP client in my project, and I don't have the permissions to modify it.. This client expects a certain format for file names when requesting the LIST command.
Specifically, when the client requests "LIST test/2.txt", it anticipates receiving just "2.txt" as the file name, rather than "/2.txt" or "/test/2.txt".
I've noticed a discrepancy between different versions of the FileZilla server:
In FileZilla Server 0.9.6, the server responds with "-rw-rw-r-- 1 inkuu inkuu 0 Jan 13 17:23 2.txt", which satisfies the client's expectation and passes.
in FileZilla Server 1.8.0, the server returns "-rw-rw-r-- 1 inkuu inkuu 0 Jan 13 17:23 /test/2.txt", which does not meet the client's requirement and fails.
I've searched through the server configuration options but haven't been able to find a setting that would resolve this issue.
Could anyone please advise on how I might address this incompatibility without modifying the FTP client? It's worth mentioning that I have to use FileZilla Server 1.8.0 because it supports TLS 1.3.
Thank you in advance for your help!
I am facing an issue with an older FTP client in my project, and I don't have the permissions to modify it.. This client expects a certain format for file names when requesting the LIST command.
Specifically, when the client requests "LIST test/2.txt", it anticipates receiving just "2.txt" as the file name, rather than "/2.txt" or "/test/2.txt".
I've noticed a discrepancy between different versions of the FileZilla server:
In FileZilla Server 0.9.6, the server responds with "-rw-rw-r-- 1 inkuu inkuu 0 Jan 13 17:23 2.txt", which satisfies the client's expectation and passes.
in FileZilla Server 1.8.0, the server returns "-rw-rw-r-- 1 inkuu inkuu 0 Jan 13 17:23 /test/2.txt", which does not meet the client's requirement and fails.
I've searched through the server configuration options but haven't been able to find a setting that would resolve this issue.
Could anyone please advise on how I might address this incompatibility without modifying the FTP client? It's worth mentioning that I have to use FileZilla Server 1.8.0 because it supports TLS 1.3.
Thank you in advance for your help!