tags:

views:

43

answers:

0

Hi

I'm having a problem downloading data using WebClient.Download. It always returns 0 bytes, even though I know from FTPing in another program, or looking at WebClient.ResponseHeaders, that the file is 1731 bytes in length. This occurs using FtpWebResposne too.

The only anomalous clue is that the Encoding of the client response is set to System.Text.SBCSCodePageEncoding which I understand is a Western encoding, but I've never heard of it.

Does anyone have any ideas what might be causing this issue?

Thanks, Mark