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

poor docs #1

Closed
chuprik opened this issue Aug 12, 2015 · 3 comments
Closed

poor docs #1

chuprik opened this issue Aug 12, 2015 · 3 comments

Comments

@chuprik
Copy link

chuprik commented Aug 12, 2015

do you can describe more of your examples? because upload() is return some data but docs doesn't has any info about it.

@Ma-ve
Copy link

Ma-ve commented Oct 17, 2015

Don't use upload(): upload literally puts the name you gave the file (example.txt, photo.jpg), with the content of the url. Use put, with the fopen command, as shown in the first example.

@frostealth
Copy link
Owner

upload returns Aws\ResultInterface, see more in official doc.

@Ma-ve you can use upload with the Psr\Http\Message\StreamInterface, php stream resource, or a string of data to upload.

@frostealth
Copy link
Owner

Added API.

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

3 participants