Warning
An existing file in the bucket folder with the same name as the file being uploaded will be overwritten.
Uploads a file onto a cloudfiles-managed S3-style bucket. Requires permission to write to the bucket.
Arguments:
local_path
bucket_path
INPUT:
import tracertools as tt tt.bucket_upload_file( local_path = "/home/username/path/to/file" bucket_path = "bucket://path/to/upload/folder" )
This will make the file's absolute path on the bucket bucket://path/to/upload/folder/file.
bucket://path/to/upload/folder/file
There was an error while loading. Please reload this page.