Hi,
The chunk upload is not working I am getting whole file as post, I want the uploader to post file to the handler in chunk of 128kb.There is no example for Chunk upload. I also don't want to upload file to the local folder.I just want the chunk information in the handler.
If any help can be provided it would be very helpfull.
<telerik:RadAsyncUpload runat="server" ID="RadAsyncUpload1" HttpHandlerUrl="~/Handler.ashx"
OnClientFileUploaded="fileUploaded" OnClientFileUploadRemoving="fileUploadRemoving"
MultipleFileSelection="Automatic" AllowedFileExtensions="jpeg,jpg,gif,png,bmp,zip" ManualUpload="true" />
Handler code
protected override IAsyncUploadResult Process(UploadedFile file, HttpContext context, IAsyncUploadConfiguration configuration, string tempFileName)
{
// Call the base Process method to save the file to the temporary folder
// base.Process(file, context, configuration, tempFileName);
// Populate the default (base) result into an object of type SampleAsyncUploadResult
SampleAsyncUploadResult result = CreateDefaultUploadResult<SampleAsyncUploadResult>(file);
string filename=file.GetName();
And also large files approx 100 mb are not uploading. I have put the maxRequestLength="102400" executionTimeout="3600" in web config also
Please help.
The chunk upload is not working I am getting whole file as post, I want the uploader to post file to the handler in chunk of 128kb.There is no example for Chunk upload. I also don't want to upload file to the local folder.I just want the chunk information in the handler.
If any help can be provided it would be very helpfull.
<telerik:RadAsyncUpload runat="server" ID="RadAsyncUpload1" HttpHandlerUrl="~/Handler.ashx"
OnClientFileUploaded="fileUploaded" OnClientFileUploadRemoving="fileUploadRemoving"
MultipleFileSelection="Automatic" AllowedFileExtensions="jpeg,jpg,gif,png,bmp,zip" ManualUpload="true" />
Handler code
protected override IAsyncUploadResult Process(UploadedFile file, HttpContext context, IAsyncUploadConfiguration configuration, string tempFileName)
{
// Call the base Process method to save the file to the temporary folder
// base.Process(file, context, configuration, tempFileName);
// Populate the default (base) result into an object of type SampleAsyncUploadResult
SampleAsyncUploadResult result = CreateDefaultUploadResult<SampleAsyncUploadResult>(file);
string filename=file.GetName();
And also large files approx 100 mb are not uploading. I have put the maxRequestLength="102400" executionTimeout="3600" in web config also
Please help.