Skip to content
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

Filestackclient upload - option 'path' does not set the s3 directory correctly #39

Open
kazunn opened this issue Feb 19, 2019 · 3 comments

Comments

@kazunn
Copy link

kazunn commented Feb 19, 2019

Hi,

In the upload function (FilestackClient->upload($filepath, $options )) we can pass option array as the second parameter with many options. As I understand 'path' is one of the available options according to docs which set the path inside the s3 bucket.

Issue :
But no matter what you set with the option['path'] the uploads always end up in the root of the s3 bucket.

"version": "1.1.12"

@asakurayoh
Copy link

The docblock don't indicate that the option is available. But it is for uploadUrl()... It need to be implemented... thanks.

@cdrum
Copy link

cdrum commented Sep 9, 2019

+1 thanks. this is a bit annoying as our web picker allows it, but our sdk scripts don't, which means we have some files in one folder, and other files in another folder...

@TheCraig
Copy link

Hi was this ever resolved? I can't figure out as well how to set my specific AWS folder. Also, I am finding the final uploaded filename is the KEY rather than the filename I have set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants