This is a migrated thread and some comments may be shown as answers.

A better upload

5 Answers 104 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Stuart Hemming
Top achievements
Rank 2
Stuart Hemming asked on 05 Aug 2009, 06:40 PM
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

5 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 06 Aug 2009, 06:33 AM
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.
0
zozzancs
Top achievements
Rank 1
answered on 13 Jan 2010, 10:14 AM
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
0
zozzancs
Top achievements
Rank 1
answered on 13 Jan 2010, 04:13 PM
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
0
zozzancs
Top achievements
Rank 1
answered on 20 Jan 2010, 04:34 PM
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.
0
Stuart Hemming
Top achievements
Rank 2
answered on 20 Jan 2010, 06:41 PM
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
Tags
Upload (Obsolete)
Asked by
Stuart Hemming
Top achievements
Rank 2
Answers by
Atanas Korchev
Telerik team
zozzancs
Top achievements
Rank 1
Stuart Hemming
Top achievements
Rank 2
Share this question
or