Is it possible to upload a file to a particular folder? There doesn't seem to be an option to specify this in the recipe.
Best Answer
P
Patricia Guevarra
said
almost 7 years ago
Hi Saul,
Thanks for reaching out! You can try adding the folder path before the file name and extension. For example, your file is myfile.json, and you want to add the file to folder 2, nested inside folder 1. For the file name, you can then put folder1/folder2/myfile.json. I hope this works for you!
Answer
Patricia Guevarra
said
almost 7 years ago
Hi Saul,
Thanks for reaching out! You can try adding the folder path before the file name and extension. For example, your file is myfile.json, and you want to add the file to folder 2, nested inside folder 1. For the file name, you can then put folder1/folder2/myfile.json. I hope this works for you!
H
HCSS Production
said
over 5 years ago
I can confirm that this solved the issue. You must prepend the directory path to the name of the file being uploaded.
Saul Macht
Amazon S3: Upload a File to a Particular Folder
Is it possible to upload a file to a particular folder? There doesn't seem to be an option to specify this in the recipe.
Hi Saul,
Thanks for reaching out! You can try adding the folder path before the file name and extension. For example, your file is myfile.json, and you want to add the file to folder 2, nested inside folder 1. For the file name, you can then put folder1/folder2/myfile.json. I hope this works for you!
Patricia Guevarra
Hi Saul,
Thanks for reaching out! You can try adding the folder path before the file name and extension. For example, your file is myfile.json, and you want to add the file to folder 2, nested inside folder 1. For the file name, you can then put folder1/folder2/myfile.json. I hope this works for you!
HCSS Production
I can confirm that this solved the issue. You must prepend the directory path to the name of the file being uploaded.