Nikeware
ReadDirectory listing wrong for some files with specific names on ftp server
For example, if I have file with name "A Tree List Control - Tree Controls.mht" on ftp server, then "Directory" property will be contain FTPItem object with value "Tree List Control - Tree Controls.mht" in "Name" property (symbol A is not present). See below few situations:
"B file.txt" - wrong (will be "file.txt")
"Bfile.txt" - correct
"-B file.txt" - correct
"- file.txt" - wrong (will be "file.txt")
"-+ file.txt" - correct
"AB file.txt" - correct
Regards,
Nikolai Egipko
For example, if I have file with name "A Tree List Control - Tree Controls.mht" on ftp server, then "Directory" property will be contain FTPItem object with value "Tree List Control - Tree Controls.mht" in "Name" property (symbol A is not present). See below few situations:
"B file.txt" - wrong (will be "file.txt")
"Bfile.txt" - correct
"-B file.txt" - correct
"- file.txt" - wrong (will be "file.txt")
"-+ file.txt" - correct
"AB file.txt" - correct
Regards,
Nikolai Egipko