Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
5.4k views
in .NET FTP by (160 points)
Hi,

i'm gettign the following error, while try to download a file...

WARN [EnterpriseDT.Net.Ftp.FTPClient] 28 Mar 2005 15:22:20.459 : Caught exception closing output stream : Found a high surrogate char without a following low surrogate at index: 781. The input may not be in this encoding, or may not contain valid Unicode (UTF-16) characters.
Parameter name: chars

i use vers 1.1.5 and vb.net2003

pls help...

thanks

3 Answers

0 votes
by (162k points)
Perhaps you should be using binary mode (looks like you are using ASCII)?

Hi,

i'm gettign the following error, while try to download a file...

WARN [EnterpriseDT.Net.Ftp.FTPClient] 28 Mar 2005 15:22:20.459 : Caught exception closing output stream : Found a high surrogate char without a following low surrogate at index: 781. The input may not be in this encoding, or may not contain valid Unicode (UTF-16) characters.
Parameter name: chars

i use vers 1.1.5 and vb.net2003

pls help...

thanks
0 votes
by (160 points)
hi bruce..

i tried to change the mode to binary... now it does not show that error....

could u pls tell.. why was that error showing up in ascii mode...

thanks
0 votes
by (162k points)
You are trying to read non-ASCII chars as ASCII chars.

hi bruce..

i tried to change the mode to binary... now it does not show that error....

could u pls tell.. why was that error showing up in ascii mode...

thanks

Categories

...