/AWS-S3-Upload-Sample

This is a sample file which shows how to Upload Files to AWS S3 Storage which works every time. Storing this for future use.

Primary LanguageTypeScript

AWS-S3-Upload-Sample

This is a sample file which shows how to Upload Files to AWS S3 Storage which works every time. Storing this for future use.

The first file is a typescript file which contains 4 functions:

  • To upload single image with mime-type: "image/*".
  • To upload single file with mime-type: "application/*".
  • To upload array of files.
  • To upload single file with mime-type: "image/" or "application/".

The second file is a javascript file with 1 function:

  • To upload single image with mime-type: "image/*".