File upload unstable

Thread is closed for posting
3 posts, 0 answers
  1. Jason M
    Jason M avatar
    8 posts
    Member since:
    Jan 2007

    Posted 15 Dec 2008 Link to this post

    A radupload control is used in our web application. It is working fine in the testing environment. When it is used on our live site, it is working fine most of the time. Once in a while, without showing any error message, the file is not uploaded onto the server, but the file name is written into the table. We couldn't find a pattern to duplicate this error.

    Any suggestion to resolve this issue will be really appreciated.

  2. Atanas Korchev
    Atanas Korchev avatar
    8462 posts

    Posted 16 Dec 2008 Link to this post

    Hi Jason M,

    Can you paste here the code you are using to save the file? Is there any server-side exception logged when this problem occurs? I think there might be two things happening:
    • Uploading empty files
    • Invalid HTTP POST requests made by some malicious bot or user
    You can try adding a check if the ContentLength property of the uploaded file is greater than zero. This would filter out empty files.

    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Alaa Majzoub
    Alaa Majzoub avatar
    49 posts
    Member since:
    Nov 2007

    Posted 18 Dec 2008 Link to this post

    We are having a similar problem,

    we are getting files occasionally from another session !!!!

    we still couldn't reproduce this.  any suggestions?

Back to Top