Hi there!
I have a usecase where a file is uploaded by a user to an API. The API then uploads the file to CDF Files. We want to avoid having to have the full file in memory at the same time, and therefore must stream the file contents from the request handler directly into CDF Files.
There are two ways of achieving this:
- Stream the request body from the request handler directly into CDF Files’ upload URL
- Chunk the request body and upload each chunk as separate requests.
The first option may be achievable, but I don’t believe the second option is possible.
Do you have any insight whether it is possible to chunk a file upload like this in CDF Files?
Best answer by Dilini Fernando
View original