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

Download large file directly to the specified location #33

Merged
merged 1 commit into from
Mar 9, 2017

Conversation

xgin
Copy link
Contributor

@xgin xgin commented Jan 18, 2017

Hey!
I have an issue with download of a large file from Dropbox:

PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 340263665 bytes) in /usr/local/psa/admin/plib/modules/dropbox-backup/vendor/guzzlehttp/psr7/src/Stream.php on line 102

I want to use sink option and save the response directly to the file without memory allocation.

@kunalvarma05 kunalvarma05 merged commit 114f1e1 into kunalvarma05:master Mar 9, 2017
@kunalvarma05
Copy link
Owner

Thanks @xgin. Much appreciated!

Will be adding this to the documentation.

Cheers 🍺

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

Successfully merging this pull request may close these issues.

2 participants