/gcs_resumable_uploads

Simple python script to upload large files to Google Cloud Storage Bucket

Primary LanguagePython

gcs_resumable_uploads

This is a simple python file adapted from here that uploads large file to Google Cloud Storage in a resumable fashion i.e. it robustly handles poor internet connection.

Usage

  • Set-up google cloud storage as described here

  • Install relevant packages listed in the requirements.txt

pip install -r requirements.txt
  • Specify bucket name, the list of files to be sent and the source and destination file paths.

  • run the resumable_uploads.py script:

python resumable_uploads.py