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.
In the last version of FluentFTP (version 54.1.2), it is no longer possible to download a file using the
FtpClient.DownloadBytesmethod if the file name contains the string ‘%20’.When the
DownloadBytesmethod is executed, theSanitizerModule.SanitizePathmethod 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.