Dec 21, 2020
Hi Joe,
You would check the content of the file after it’s uploaded before doing any further processing of it. Perhaps that means you trigger a Lambda function on upload, or you could make a subsequent call to your own API to say the upload is complete.
Either way, remember that you can request a specific number of bytes of an S3 object, so you don’t need to get the whole thing to chese these magic numbers.
Hope that helps!