Uploading an object from a directory to an S3 bucket #1703
-
Hello, As shown in the aws-sdk-cpp-examples, in code put-object.cpp we can call an object (here, my-file.txt) from a local directory:
How can I call the my-file.txt file from a different directory by providing its path in AWS? thanks |
Beta Was this translation helpful? Give feedback.
Answered by
KaibaLopez
Jul 9, 2021
Replies: 2 comments
-
just add the full path to the file you want the input_data to have. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
KaibaLopez
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
just add the full path to the file you want the input_data to have.
const Aws::String object_name = "/Users/Documents/somFolder/myfile.txt";