3

We are using an extjs form to upload our files to fileserver ( we have an FileUploadHandler.ashx to handle the file on the bakcend side )

My question is, can extjs handle / throw an exception if accidentally during the upload process the user was disconnected from the network / internet

Thanks in advance.

leka
  • 111
  • 2
  • 4
  • 10

1 Answers1

1

You'd have to handle that on the server side. I don't believe ExtJS can handle that, it can only handle responses from the server. So, if your server throws a 500 or another error code that indicates that the request was unsuccessful, you can handle that.

dmackerman
  • 2,938
  • 5
  • 26
  • 43