How to customize the id of webuploader

-WebKitFormBoundaryCingJkAoxrCeERpl
Content-Disposition: form-data; name= "formhash"

cb531121
-WebKitFormBoundaryCingJkAoxrCeERpl
Content-Disposition: form-data; name= "id"

WU_FILE_0
-WebKitFormBoundaryCingJkAoxrCeERpl
Content-Disposition: form-data; name= "name"

1.mp4
-WebKitFormBoundaryCingJkAoxrCeERpl
Content-Disposition: form-data; name= "type"

video/mp4
-WebKitFormBoundaryCingJkAoxrCeERpl
Content-Disposition: form-data; name= "lastModifiedDate"

Sat Mar 24 2018 19:03:57 GMT+0800 (China Standard time)
-WebKitFormBoundaryCingJkAoxrCeERpl
Content-Disposition: form-data; name= "size"

44525317
-WebKitFormBoundaryCingJkAoxrCeERpl
Content-Disposition: form-data; name= "file"; filename= "1.mp4"
Content-Type: video/mp4

-WebKitFormBoundaryCingJkAoxrCeERpl--

how does the name= "id" WU_FILE_0 customize the name= "id" name, instead of setting it to id, such as name= "filename"

Mar.05,2021

modify the id: file.id, in webuploader.js and change id to filename

                data = $.extend( data, {
                    id: file.id,
                    name: file.name,
                    type: file.type,
                    lastModifiedDate: file.lastModifiedDate,
                    size: file.size
                });
Menu