Skip to content

Conversation

CaMer0n
Copy link

@CaMer0n CaMer0n commented Nov 10, 2023

Hi @Athlon1600

Thanks for sharing your curl-file-downloader!

I added an option to the download() method for a progress callback function (very useful with large files)
Included a test also (it requires a larger file download - feel free to change the URL).

Also, please note that all tests were failing in my local environment (PHPStorm, PHP 8.2.12, Windows 11) prior to any of my changes.
(URLs timing out, also confirmed manually in browser)

I modified the URL of test_download_directly() to at least have one working test example.

Hope you find this addition useful!

Thanks!
Cameron

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.

1 participant