We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

customFormData each time chunk upload

Thread ID:

Created:

Updated:

Platform:

Replies:

140939 Nov 15,2018 07:54 AM UTC Dec 10,2018 06:03 AM UTC Angular - EJ 2 7
loading
Tags: Uploader
Yohann LELEUCH
Asked On November 15, 2018 07:54 AM UTC

Hello,

I want to use customFormData each time chunk upload but i dont find event who could match with this.

Can you help me ? 

Best Regards

Yohann

Prince Oliver [Syncfusion]
Replied On November 16, 2018 01:45 AM UTC

Hi Yohann, 
 
Thank you contacting Syncfusion support. 
 
Currently we don’t have any event for every chunk, before starting to upload. Because the uploader component has uploading event before starting to upload every file. By using this event you can add the customFormData and this event is common for normal and chunk upload. Could you please share your application use cases for adding custom data on every chunk upload, because this is helpful to evaluate the priority of this requirement (provide the event for every chunk before start to upload)? 
 
Regards, 
Prince 


Yohann LELEUCH
Replied On November 16, 2018 09:28 AM UTC

Hello,

Thanks for the answer

When the first chunk is uploaded the server retrive a id.
During the event Chunksuccess, we get the id.
We want to send the id of file for every chunk because we have multiple backend server for upload.

Use Case:
If two different user upload a file with the same name and same size.
When the first request for chunk arrives on the server, the server save the filemame and path in database and return the id for the file.
The chunk is save as filename "id + filename + chunkIndex".
If we dont have the id for the next chunk and the request go on another server, it does not work.

Have a good day

Best regards Yohann

Prince Oliver [Syncfusion]
Replied On November 19, 2018 11:09 AM UTC

Hi Yohann, 

Thank you sharing detailed information on your use case. We have validated the scenario and considering this as an improvement in our control. This improvement will be included in our upcoming patch release scheduled in the first week of December 2018. We appreciate your patience until then. 

Regards, 
Prince 


Yohann LELEUCH
Replied On November 19, 2018 12:34 PM UTC

Hello,

Thanks for your answer and reactivity.

Best Regards
Yohann

Prince Oliver [Syncfusion]
Replied On November 20, 2018 05:01 AM UTC

Hi Yohann, 

Most Welcome. We are glad to help you. 

Regards, 
Prince 


davaro
Replied On December 7, 2018 02:36 PM UTC

Hello,

Has there already been any progress on this subject? This scenario would be quite useful for me aswel.

Kind regards
Daan

Prince Oliver [Syncfusion]
Replied On December 10, 2018 06:03 AM UTC

Hi Daan, 

Thank you for your update. 

We are currently working on this improvement in our end. It will be included in our upcoming 2018 Volume 4 release scheduled in the mid of December 2018. 

Regards, 
Prince  


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;