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.
-
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