`I have a file stored on a strato hidrive which I'm able to access directly using webdav and authentication like so:
https://username:password@webdav.hidrive.strato.com/path/to/my/file.zip
When I paste that in my address bar I can directly download the file. But I'm writing a small file getter script which accepts the filename as a parameter in the URL and it will generate the download:
http://example.com/getfile.php?filename=file.zip
That should pop up a download dialog the same way the direct link would
I want to use the httpful php library to download the file if possible (not cURL)