Upload large files using antdesign?

could you tell me how to upload large files using antd?

current situation: too large file upload leads to browser crash and interface timeout

flipped through github"s issue, and only saw the beforeUpload function return false. And then what are we going to do with it?

Mar.21,2021

use

let formData = new FormData();
                formData.append('files', filePart);
                formData.append('chunk', index.toString());

pass parameters to the server and split the file.
Note: Google browser does not need to set content-type, or the backend will not get the data


then upload parts with ajax to see how the server configures


browser crashes and the interface times out. I wish I had changed the limit of nginx. Please refer to

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bee6a2-31bed.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bee6a2-31bed.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?