Hello,
I noticed that my get_url calls were taking a long time even if the file
was already downloaded. After digging in the docs I found the following:
“If dest is a directory, the file will always be downloaded (regardless of the force option), but replaced only if the contents changed.”
IMO this is unintuitive because it should not matter whether the destination is a filename or directory. The situation is the same -
a file by that same name exists in a particular directory. Therefore the behavior should be the same, and controlled by other flags.
It would also be great if there were a way to compare checksums without downloading a file first - not sure
it’s possible but currently a large file would need to be downloaded first in order to check if it is identical to a
target - far from ideal given bandwidth and time constraints.
Regards,
–Ed