I am using esp32 with amazon freertos for sending data to aws iot
I have a 500kb jpeg file in the flash which i want to upload it to aws S3 using http.
I cannot allocate a larger buffer of size 500kb in ram to send the jpeg file in single http request.
Is there any methodology to send this jpeg image in blocks using https directly to S3?
If above is possible, then i will allocate a smaller buffer say 10kb and read only 10kb block from flash in to ram buffer and send using IotHttpsClient_SendSync()/async().
What is the approach which i should take to upload these kind of larger files in to S3?