You are not logged in.
Pages: 1
Hello guys,
I was looking at the source code of Mormot2 to see if there's any way I can upload a file to TWebSocketAsyncServer, which is based on THttpAsyncServer.
But with no luck.
So is there any way I can upload files to the Mormot2 HTTP server, and if mormot 2 HTTP servers support multipart file upload?
I'm looking to upload files of 1GB to 5GB in size.
Regards.
Offline
In mORMot1 I upload such huge files by manually split it on chunks (in my case - in browser) and send chunks one-by-one to the server endpoint with chunk number in URL htp://.../fileUpload?chunk=x&totalChunks=y
On the server side endpoint just append HTTP request body what contains chunk to the file.
The same can be used with mORMot2
Last edited by mpv (2023-02-28 15:35:54)
Offline
Pages: 1