A better upload

Thread is closed for posting
6 posts, 0 answers
  1. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 05 Aug 2009 Link to this post

    I understand that many of the limitations of RadUpload come from the fact that it is based on the MS one.

    Why is that?

    Clearly that doesn't have to be the case. Look, for example, at the 'attach file' functionality of GMail. That allows multi-file selection and upload.

    I understand that Google have Gazillions of dollars behind them and, consequently, can attract some clever boys and girls to their teams, but you guys at telerik towers are not exactly slouches in the brains department, so I'm sure that anything that they can do, you can do better!

    --
    Stuart
  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 06 Aug 2009 Link to this post

    Hi Stuart Hemming,

    RadUpload is based on the <input type="file" /> HTML element and inherits all of its limitations. However this is the most cross browser efficient approach. Any other solutions rely on plugins - Flash or Silverlight. For example Google's upload relies on Flash to upload files. If relying on a 3rd party plugin is not a problem for you (keep in mind that your customers need to have that plugin installed) you can check RadUpload for Silverlight. We have assembled an integration demo showing how to use it in ASP.NET applications.

    Regards,
    Albert
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. zozzancs
    zozzancs avatar
    24 posts
    Member since:
    Dec 2009

    Posted 13 Jan 2010 Link to this post

    Hello,

    I downloaded the demo, built it into a test site.
    It is really useful and nice. However I discovered a limitation.
    It looks like it uploads only 100KB / sec. I mean the uploaded file's size grows exactly 100KB in every second.
    I guess RadUploadHandler has a buffer of 100 KB and a timer of 1 sec.
    I think, it could do much faster upload speed if the timer could be adjusted.
    Is there any way to adjust the timer's tick interval or the buffer size?

    Thank You!

    Zoltan
  4. zozzancs
    zozzancs avatar
    24 posts
    Member since:
    Dec 2009

    Posted 13 Jan 2010 Link to this post

    Hmm, interresting thing happened to me after my last message.
    This 100 KB / sec issue exists only if I use Visual Studio Development Server to run the site - no IIS, just running on developer machine.

    I tried this example on a proper webserver (IIS7), and the problem is gone.
    It looks like ASP.NET Developer Server has such a bizarre limitation / bug / whatever it is.

    Zoltan
  5. zozzancs
    zozzancs avatar
    24 posts
    Member since:
    Dec 2009

    Posted 20 Jan 2010 Link to this post

    Hello again,

    Albert, I have a question about the silverlight upload demo you mentioned.
    As I experienced, this example can be configured to upload files into a directory inside the website's root directory.
    Is it a limit of silverlight, or is there a way to configure this demo to upload files into a directore outside the website's root director.

    For example:

    The website's root dir is c:\inetpub\wwwroot\uploader
    I want to upload to c:\uploads

    Is this possible?

    Thank you!

    Zoltan

    ps:
    My workaround for this is to create an NTFS symbolic link with mklink.
    mklink /D c:\inetpub\wwwroot\uploader\uploads c:\uploads
    Tested with windows server 2008 + IIS7.
  6. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 20 Jan 2010 Link to this post

    Zoltan,

    A grown up will correct me if I'm wrong, but I believe that IIS is what is stopping you from doing what you want rather than the control.

    An alternative might be to create a virtual directory inside your website structure that is mapped to c:\uploads.

    --
    Stuart
Back to Top