Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.6k views
in .NET FTP by
Hello,

I have found that edtftpnet 1.2.2 does not work with files which contain whitespaces. The FTPFileParser.Split contains an incorrect assumption that all fields should be whitespace delimitted - that's true but not for the last field:

if (!Char.IsWhiteSpace(ch))
field.Append(ch);
else {
if (field.Length > 0) {
fields.Add(field.ToString());
field.Length = 0;
}
}

Any suggestions?

Thank you

2 Answers

0 votes
by
Please, anyone?
0 votes
by (162k points)
Can you show us a directory listing that fails?

We do test with file names containing whitespace.

Please, anyone?

Categories

...