Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Should use MLSD command when the server supports it #120

@falemagn

Description

@falemagn

Hi,

gFTP currently uses the LIST command to retrieve directory contents, but appends to it non-standard "parameters", such as -aL: this breaks those servers that abide by the letter of the RFC and stops working on all the other servers the moment a file/directory named "-aL" exists in the current working directory. gFTP should probably at least retry to issue LIST without the appended "-aL" options, when that command fails.

However, most of the FTP servers nowadays support the MLSD command, standardized by RFC 3659, and I believe gFTP should use that for directory listing, only falling back to LIST if MLSD is not supported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions