How to avoid temporary File upload while using Kendo().Upload() , Can we direclty save to DB ?

6 posts, 0 answers
  1. Bankim
    Bankim avatar
    3 posts
    Member since:
    Aug 2015

    Posted 26 Jul Link to this post

    How to avoid temporary File upload while using Kendo().Upload() , Can we directly save to DB ?
  2. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2159 posts

    Posted 27 Jul Link to this post

    Hello Bankim,

    If you are referring to the async Upload widget, it makes a regular FormData request and requires a save handler, accepting post requests.

    Regards,
    Dimiter Madjarov
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  3. Kendo UI is VS 2017 Ready
  4. Bankim
    Bankim avatar
    3 posts
    Member since:
    Aug 2015

    Posted 27 Jul in reply to Dimiter Madjarov Link to this post

    Hello Dimiter,

    Thanks for your input. You are right I am talking about Async Upload widget. Kendo().Upload().

    Do you have any code snippet or sample/example ? so I can create handler at server side and avoid temporary file creation & save directly to DB.

    Please let me know once you get chance.

     

  5. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2159 posts

    Posted 27 Jul Link to this post

    Hello Bankim,

    There is no need to create a temporary file. You could directly save the file in the handler, similarly to our demos:

    http://demos.telerik.com/aspnet-mvc/upload/async

    Regards,
    Dimiter Madjarov
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  6. Bankim
    Bankim avatar
    3 posts
    Member since:
    Aug 2015

    Posted 27 Jul in reply to Bankim Link to this post

    Hello Dimiter,

    sorry I was not clear while asking my concern.

    While using Kendo().Upload() async upload feature : 1) In Dev , it is absolutely fine and loading file to 100% in no time. (max 5-10 sec, if file size is around 200 mb) 2) In QA, It is taking around 11 min for 61 mb file and reaching gradually to 100% status on kendo upload control.

    And Actual upload from server to Db would start only after above 100% completing in control. I hope I am clear now.

    So my concern is how would I minimize that time, because in most of the cases my it never reach to server code and it is getting failed beyond 40 mb files.

    Any specific value for transferProfile  (MTOM or Base64 or UCF) or any other setting needs to follow for such upload.

    Please let me know

    Regards,

    Bankim

     

     

  7. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2159 posts

    Posted 28 Jul Link to this post

    Hello Bankim,

    There is no specific Upload widget related option that influences this behavior. I would suggest to remove the widget and upload the file with a regular request to isolate the time consume problem and pin point the reason for it, as I assume it is related to server configuration instead.

    Regards,
    Dimiter Madjarov
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
Back to Top
Kendo UI is VS 2017 Ready