I was a bit unsure about where to start, but as far as I can tell this minor change works perfectly. It builds without issue in my default environment, and I've tested as many permutations of functionality as I can think of to download entire files, newer versions of files from old files, older files from newer files, massive files, using multiple local files, interrupting and resuming a download, etc. and my version hasn't failed once.
I don't necessarily feel comfortable with this being merged directly into Master because I'm sure there are better ways of doing it, but at least it works for now and points someone who knows better in the right direction.
I was a bit unsure about where to start, but as far as I can tell this minor change works perfectly. It builds without issue in my default environment, and I've tested as many permutations of functionality as I can think of to download entire files, newer versions of files from old files, older files from newer files, massive files, using multiple local files, interrupting and resuming a download, etc. and my version hasn't failed once.
I don't necessarily feel comfortable with this being merged directly into Master because I'm sure there are better ways of doing it, but at least it works for now and points someone who knows better in the right direction.