Back to Python Mini Projects

README

projects/S3_File_Upload/README.md

latest520 B
Original Source

Simple Python script for AWS S3 file upload.

Prerequisites

boto3 (pip install boto3)

How to run the script

  • Specify both ACCESS_KEY and SECRET_KEY. You can get them both on your AWS account in "My Security Credentials" section.

  • Specify the local file name, bucket name and the name that you want the file to have inside s3 bucket using LOCAL_FILE, BUCKET_NAME and S3_FILE_NAME variables.

  • Run "python main.py"

Author Name

Miguel Wychovaniec - https://github.com/miguelwy