-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
magic function: six_file_upload #67
Comments
sckott
added a commit
that referenced
this issue
Apr 5, 2024
- 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
@seankross For # 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")
) |
draft function |
forgot to mention issue 9462f27 |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: