0 votes

We use your tool to upload data.

We have a limit on the size (50mb).
If the file is too large we get System.Web.HttpException (0x80004005)
Ugly error message.
Is there a way to limit size using your tool?
If not Is there a way I can capture the error message and make it more human.
We are using IIS7.

client.Upload(fileName, source); source is a stream.

by

1 Answer

0 votes

Are you sure you are getting HttpException?

Ftp.dll doesn't use HTTP, so this exception is definitely not raised by Ftp.dll.

Most likely you get this error when uploading file to your web application and not from Ftp.dll.

by (297k points)
edited by
...