Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I handle exceptions that occur during a file upload, or during multiple file uploads?

0
Posted

How do I handle exceptions that occur during a file upload, or during multiple file uploads?

0

Because of the asynchronous nature of uploading files with PowerWEB File Upload for ASP.NET, and because you may choose to continue with an upload process if one file within a group fails, exception handling is done through events on the UploadManager control. The UploadManager control exposes a FileUploadFailed event that is fired once for each file that fails during an upload operation. The event has a single argument of type FileUploadExceptionEventArgs containing an FailedUpload field which describes the underlying exception as well as know details of the failed file.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123