You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uploads a file to a bucket by specifying the bucket name, not a remote path. In fact maybe there should just be a six_bucket_upload that can handle files or folders as things that are upload-able, and bucket names or remote paths to specify where to put the files.
The text was updated successfully, but these errors were encountered:
- as part of addressing six_file_upload, reworked s3 connection acquisition for paws and s3fs
- rework tests to work with new s3 connection
- rename random_str to random_db_id_str
# allow a combination of files and directories of files# let us figure out the paths in the bucket
six_bucket_upload(
c("file.txt", "some-folder/", "anotherfile.csv"),
"some-bucket"
)
# or give paths for where the uploads should live in the bucket
six_bucket_upload(
c("file.txt", "some-folder/", "anotherfile.csv"),
# each path below would have to have the bucket in the beginning of the string
c("some-bucket/the-file.txt", "some-bucket/a-different-folder-name/", "some-bucket/anotherfile.txt")
)
Uploads a file to a bucket by specifying the bucket name, not a remote path. In fact maybe there should just be a six_bucket_upload that can handle files or folders as things that are upload-able, and bucket names or remote paths to specify where to put the files.
The text was updated successfully, but these errors were encountered: