Skip to content

Unable to download file with %20 in the name anymore #1836

Description

@gcavestro

In the last version of FluentFTP (version 54.1.2), it is no longer possible to download a file using the FtpClient.DownloadBytes method if the file name contains the string ‘%20’.
When the DownloadBytes method is executed, the SanitizerModule.SanitizePath method is called internally: this converts the string to a space, corrupting the file reference, so that it no longer matches the file on disk.
It was possible to work with files with this type of name at least up to version 53.0.2, where sanitisation was not present.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions