
koteswararao
Top achievements
Rank 1
koteswararao
asked on 19 Oct 2012, 01:43 PM
hi ,
i kept the maximum fileupload size as 25 mb (26214400) in my file explorer when i try to upload 47MB of file it didn't show the warning it simply showing the file not found error it is not user friendly so can u please suggest on this to solve my issue plz check the image for more clarification.
<telerik:RadFileExplorer runat="server" ID="fileExp" Width="520px" Height="520px" ForeColor="#000000">
<Configuration ViewPaths="~/HTMLEditorImages" UploadPaths="~/HTMLEditorImages" MaxUploadFileSize="26214400"
DeletePaths="~/HTMLEditorImages" />
</telerik:RadFileExplorer>
i kept the maximum fileupload size as 25 mb (26214400) in my file explorer when i try to upload 47MB of file it didn't show the warning it simply showing the file not found error it is not user friendly so can u please suggest on this to solve my issue plz check the image for more clarification.
<telerik:RadFileExplorer runat="server" ID="fileExp" Width="520px" Height="520px" ForeColor="#000000">
<Configuration ViewPaths="~/HTMLEditorImages" UploadPaths="~/HTMLEditorImages" MaxUploadFileSize="26214400"
DeletePaths="~/HTMLEditorImages" />
</telerik:RadFileExplorer>
6 Answers, 1 is accepted
0

koteswararao
Top achievements
Rank 1
answered on 23 Oct 2012, 07:26 AM
same issue i got in my telerik html editor media manager long back i implement this i am using the telerik licensed version only can you plz suggest me how to solve this problem.
0
Hi,
I tried to reproduce the described issue but to no avail. For my test I used the latest official version of the controls (2012.3.1016) - if you use an older one, could you try to upgrade and see if the problem still occurs? Could you also see if you able to reproduce the same issue in the FileExplorer's online demos?
If non of the above helps, could you prepare a sample fully runnable project reproducing the issue, so we will be able to examine it locally?
Kind regards,
Vesi
the Telerik team
I tried to reproduce the described issue but to no avail. For my test I used the latest official version of the controls (2012.3.1016) - if you use an older one, could you try to upgrade and see if the problem still occurs? Could you also see if you able to reproduce the same issue in the FileExplorer's online demos?
If non of the above helps, could you prepare a sample fully runnable project reproducing the issue, so we will be able to examine it locally?
Kind regards,
Vesi
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0

koteswararao
Top achievements
Rank 1
answered on 23 Oct 2012, 01:24 PM
can u please check the project in the following url , i upload the zipfile .
http://www.ziddu.com/download/20688230/Telerik_20_10.zip.html
try to upload the zipfile which size exceeds the 25mb nearly (30mb)
in my scenario i am trying to upload the 40mb zip file .
let me know any further help to reproduce the issue
http://www.ziddu.com/download/20688230/Telerik_20_10.zip.html
try to upload the zipfile which size exceeds the 25mb nearly (30mb)
in my scenario i am trying to upload the 40mb zip file .
let me know any further help to reproduce the issue
0
Hi,
Thank you for the provided project.
If the uploaded file size exceeds 4 MB then you should configure your ASP.NET settings to allow the upload of large files - this is not a FileExplorer's limitation, but .NET Framework one. If the upload of bigger files is not allowed explicitly in the web.config, the application throws a server error and the FileExplorer is not able to show its user-friendly warning.
The issue is discussed in the following article: Uploading Large Files Using Editor (maxRequestLength)
Regards,
Vesi
the Telerik team
Thank you for the provided project.
If the uploaded file size exceeds 4 MB then you should configure your ASP.NET settings to allow the upload of large files - this is not a FileExplorer's limitation, but .NET Framework one. If the upload of bigger files is not allowed explicitly in the web.config, the application throws a server error and the FileExplorer is not able to show its user-friendly warning.
The issue is discussed in the following article: Uploading Large Files Using Editor (maxRequestLength)
Regards,
Vesi
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0

koteswararao
Top achievements
Rank 1
answered on 25 Oct 2012, 10:37 AM
thank you for your reply , can you plz provide the demo with the size property also it is more help full for us
as like now you provide the property settings like
like this you can give the demo like
maximum upload size as text box we will test it then we confirm
when ever i gave the technical specification i have the maximum size as 25mb so i need to handle this in the demo site it shows the proper error message
more over in demo you specify the file type as image but here i kept no such constraints so we are able to upload zipfiles also
can you plz provide the such type of demo which is accept the zip files or provide the fileltype as one of the setting property in the demo site the
as like now you provide the property settings like
Choose explorer controls:
Set control behavior:
like this you can give the demo like
maximum upload size as text box we will test it then we confirm
when ever i gave the technical specification i have the maximum size as 25mb so i need to handle this in the demo site it shows the proper error message
more over in demo you specify the file type as image but here i kept no such constraints so we are able to upload zipfiles also
can you plz provide the such type of demo which is accept the zip files or provide the fileltype as one of the setting property in the demo site the
0
Hi,
I prepared an example, where the settings in the web.config are made as described in the above mentioned help article and now the maximum size which the FileExplorer will allow to be uploaded will be ~25MB, but it would show an user-friendly error until it is below 102MB:
web.config
Additionally, I have set the SearchPatterns property, which is the value where the allowed file extentions are taken from. If you want any type of file to be shown/uploaded in the FileExplorer (including *.zip) you could set SearchPatterns="*.*"
For your convenience I am attaching the whole project so you could examine it on your side.
Regards,
Vesi
the Telerik team
I prepared an example, where the settings in the web.config are made as described in the above mentioned help article and now the maximum size which the FileExplorer will allow to be uploaded will be ~25MB, but it would show an user-friendly error until it is below 102MB:
web.config
<
configuration
>
...
<
system.web
>
...
<
httpRuntime
maxRequestLength
=
"102400"
executionTimeout
=
"3600"
/>
</
system.web
>
<
system.webServer
>
...
<
security
>
<
requestFiltering
>
<
requestLimits
maxAllowedContentLength
=
"1024000000"
/>
</
requestFiltering
>
</
security
>
</
system.webServer
>
</
configuration
>
Additionally, I have set the SearchPatterns property, which is the value where the allowed file extentions are taken from. If you want any type of file to be shown/uploaded in the FileExplorer (including *.zip) you could set SearchPatterns="*.*"
<
telerik:RadFileExplorer
ID
=
"RadFileExplorer1"
runat
=
"server"
>
<
Configuration
ViewPaths
=
"~/"
DeletePaths
=
"~/"
UploadPaths
=
"~/"
MaxUploadFileSize
=
"26214400"
SearchPatterns
=
"*.jpg,*.png,*.bmp,*.jpeg,*.gif,*.tif,*.doc,*.docx,*.zip"
/>
</
telerik:RadFileExplorer
>
For your convenience I am attaching the whole project so you could examine it on your side.
Regards,
Vesi
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.