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

Not able to upload mp3, wmv files

3 Answers 76 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Nano
Top achievements
Rank 1
Nano asked on 21 Feb 2011, 04:24 AM
Hi,
Can anyone please help with the following issues. I am using file explorer and trying to upload mp3 and wmv files but getting error. the error is "Connection was reset, The connection to the server was reset while page is loading". I am also trying to make seletect multiple files together. Is it possible? and one more thing like I am trying to achieve to upload zip file with multiple contents and after upload unzip all contents. for unzip the file I am using DotNetZip library. How can I do that in server side. please find my demo project. If anyone can help me it would be really appreciated.
Click to download sample code

3 Answers, 1 is accepted

Sort by
0
Accepted
Dobromir
Telerik team
answered on 21 Feb 2011, 06:53 PM
Hi Nano,

I already answered your support ticket on the subject. For convenience I will paste my answer here as well.

Straight to your questions:
  1. This problem might occur if the application is not configured to allow uploading of large files. Please check the following help article:
    Uploading Large Files
  2. I am not quite sure I understand what exactly you are trying to achieve. If you want to select multiple files and download them, I believe this KB article will be of help solving this case. 
  3. You can manipulate the uploaded file by handling the RadFileExplorer's ItemCommand server-side event and get reference to the file, e.g.:
    protected void RadFileExplorer1_ItemCommand(object sender, Telerik.Web.UI.RadFileExplorerEventArgs e)
    {
        if (e.Command == "UploadFile")
        {
            foreach (UploadedFile file in RadFileExplorer1.Upload.UploadedFiles)
            {
                //add custom code here
            }
        }
    }


Kind regards,
Dobromir
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Nano
Top achievements
Rank 1
answered on 21 Feb 2011, 11:43 PM
hi Dobromir,
Thanks for your reply. This is exactly what I was looking for. Just one more question like in file explorer file upload section if I want to customize like if I want to put additional field like checkbox whether user want to unzip or not (assume uploaded file in zip format) like presently there are one checkbox which say overwrite existing file....... One example would be great help. Thanks.
0
Accepted
Dobromir
Telerik team
answered on 24 Feb 2011, 10:38 PM
Hi Nano,

I believe the following forum thread will be of help solving the case:
Custom Upload File Fields

All the best,
Dobromir
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
FileExplorer
Asked by
Nano
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Nano
Top achievements
Rank 1
Share this question
or