The Upload is Interupted!

Last post 02-23-2009, 1:03 PM by ttucker. 9 replies.
Sort Posts: Previous Next
  •  02-20-2009, 4:16 PM 49064

    The Upload is Interupted!

    Hey guys,
     
    I'm trying to build a file level resume into my uploader application and when the file upload is interrupted an alert box automatically pops up to say "The Upload is Interrupted!".

    Is there a way to prevent this from happening and return via handlexxxxx to the javascript that the file upload has been interrupted and script a retry?
     
    I can write the retry, I just need to stop that alert and instead have a notification passed to my code.

    ~ Thomas
  •  02-20-2009, 11:49 PM 49066 in reply to 49064

    Re: The Upload is Interupted!

    Thomas,
     
    When did you download the control?
     
    Can you download the latest build and try again?

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  02-23-2009, 10:05 AM 49102 in reply to 49064

    Re: The Upload is Interupted!

    Thomas ,
     
    We will provide the handleerror event soon.
     
    Regards,
    Terry
  •  02-23-2009, 10:07 AM 49103 in reply to 49066

    Re: The Upload is Interupted!

    Guys,
     
    I just downloaded the new build and now this no longer works:
            <add key="CuteWebUI.AjaxUploade.UploadSpeedKB" value="100" />.

    This used to work and now no matter what value I set, the upload speed is at max so I can no longer test for connection dropout. Also, if anyone has an answer for my previous post below, please let me know.
     
    Basically I have setup a custom UI upload page with multiple uploaders which queue the next uploader in line as seen here: http://cutesoft.net/foums/thead/48457.aspx. However, if there is a connection interrupt, an alert window fires over the page saying that the Upload is Interrupted. I need to cancel that alert and instead return that alert to the javascript so that I can run a delete process of the temp file and restart the uploade, thereby creating resume.
     
    Can someone please assist? The client will soon get very antsy.

    Thanks!
    ~ Thomas
  •  02-23-2009, 10:15 AM 49106 in reply to 49103

    Re: The Upload is Interupted!

    Hi,
     
    I think the code should be
     
    <add key="CuteWebUI.AjaxUploader.UploadSpeedKB" value="100" />.
     
    Regards,
    Terry
  •  02-23-2009, 10:28 AM 49110 in reply to 49106

    Re: The Upload is Interupted!

    Terry,
     
    Yes. That's what I have in my code. I think it's this wysiwyg text editor. It changes  my code when I copy/paste into this window. What I meant to type was that the same code you posted does not work with the new build.
     
    Thanks again,
    ~ Thomas
     
    <add key="CuteWebUI.AjaxUploader.UploadSpeedKB" value="100" />.

  •  02-23-2009, 10:37 AM 49112 in reply to 49110

    Re: The Upload is Interupted!

    Thomas,
     
    If you installed the silverlight , this config would not be applied yet.
     
    Please use UploadType=IFrame or UploadType=Flash to test again.
     
    Regards,
    Terry
  •  02-23-2009, 10:53 AM 49117 in reply to 49112

    Re: The Upload is Interupted!

    Terry,
     
    Thanks for quick responses. I should have been more specific regarding my needs. We have built everything off of your demo code using the Famewok 2.0-Cshap-MicosoftAjax\ project.
     
    All of the customization we are doing is in the javascript using the handlexxxxx functions on a per uploader instance basis. We aren't using the silverlight or magicajax at all.

    ~ Thomas 
  •  02-23-2009, 11:47 AM 49122 in reply to 49117

    Re: The Upload is Interupted!

    Thomas  ,
     
    I don't know why the speed kb property do not works for you.
     
    We would provide the error event in two days.
     
    But I don't think it's possible to resume the file upload without clicking and browsing the file again, by custom script code.
     
    Regards,
    Terry
     
  •  02-23-2009, 1:03 PM 49125 in reply to 49122

    Re: The Upload is Interupted!

    Terry,
     
    Thank you. I will custom write the error resume even if I have to reload the window and fire off the event manually using the javascript scripting. Thank you very much for providing the error event! 
     
    Right now I've reverted back to the previous CuteWebUI.AjaxUploader.dll that I had from 2/5/2009 instead of the new one from 2/18/2009 and the speed kb is working great.
     
    As soon as I have the ability to grab the error event, I'll be golden. :) Thanks!

    ~ Thomas
View as RSS news feed in XML