1.1.6 • Published 4 years ago

advancefileupload v1.1.6

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

One service to store files on local server or on AWS S3.

1. Files are validated by the 'mime-type' of the file.

Allowed file types are :

  • JPEG = image/jpeg
  • PNG = image/png
  • GIF = image/gif
  • PDF = application/pdf
  • MSWORD = application/msword
  • DOC = application/vnd.openxmlformats-officedocument.wordprocessingml.document
  • MSEXCEL = application/vnd.ms-excel
  • SHEET = application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
  • MPEG = video/mpeg
  • XMATROSKA = video/x-matroska
  • QUICKTIME = video/quicktime
  • GPP = video/3gpp
  • XMSVIDEO = video/x-msvideo
  • MP4 = video/mp4

In order to use AWS, Credentials needs to passed in .env file with exactly same variable names.

  • AWS_ACCESS_KEY = "AKXXXXXXXXXXXMQ"
  • AWS_SECRET_ACCESS_KEY = "KXXXXXXXXXXXXXXXXXXXXXXXXXXl"
  • AWS_REGION = "region name of the bucket."
  • AWS_BUCKET_NAME = "Name of the bucket."

In order to store files on local server provide accessible path in .env file with exactly same variable name.

  • LOCAL_FILE_PATH = "/uploads"

https://github.com/ankurrokad/advancedFileUpload

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

0.0.0

4 years ago