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

RadUpload and Flash

3 Answers 71 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
possible
Top achievements
Rank 1
possible asked on 25 Jul 2008, 07:43 AM
Hi,

I'm testing RadUpload with MemoryOptymization and it works great. Thanks for it. I have custom flash component that I'm using to upload multiple files (adding many input fields as telerik do is not the most comfortable option) and I want to upload files by using memory optymization technique. Is any way to do it? I did some simple tests and all fails (upload context was null).

Regards

3 Answers, 1 is accepted

Sort by
0
Erjan Gavalji
Telerik team
answered on 25 Jul 2008, 08:21 AM
Hi tspossible,

The latest version of RadUpload uses the native memory-optimized mechanism of ASP.NET 2.0, so you should use the Request.Files collection there.

FYI, although I'm not familiar with the flash component you use, basically uploading files using Flash is asynchronous, so you should arrange the pages accordingly.

Kind regards,
Erjan Gavalji
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
possible
Top achievements
Rank 1
answered on 25 Jul 2008, 08:29 AM
Hi

My flash component does smth like that:
                    var request:URLRequest = new URLRequest();
                    request.data = sendVars;
                    request.url = _strUploadUrl;
                    request.method = URLRequestMethod.POST;
                    _refUploadFile = new FileReference();
                    _refUploadFile = listFiles.selectedItem.file;
                    _refUploadFile.upload(request, "file", false);
                  
So it post's uploaded file. Can such upload be optimized by using radupload memory optymization?
0
Erjan Gavalji
Telerik team
answered on 25 Jul 2008, 08:59 AM
Hi tspossible,

Yes, once you post the file to an ASPX page on the server (or a handler), it will benefit the memory optimization.

Kind regards,
Erjan Gavalji
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Upload (Obsolete)
Asked by
possible
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
possible
Top achievements
Rank 1
Share this question
or