79331948

Date: 2025-01-06 02:38:29
Score: 1
Natty:
Report link

You could use presignedURL to do that:

  1. Send a request from client side to server side to generate presignedURL (server side will authenticate and process where the file will be placed,... )
  2. After that, server will send back to client side a presignedURL with a timeout setting. Client side will use that URL to make a request to upload file directly into S3

You maybe ask about the file information (size, metadata,... ) You could get that information and send to server in the first request. It means you will send the file information in the request which send back the presignedURL. At that process, you could verify something such as:

Note:

I hope my idea could help you

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: SirT