Previously, running get with a directory as the destination argument would return an "is a directory" error message. Now it checks if dst is a directory before downloading and appends the filename if that's the case.
Rationale: Most file utilities allow specifying a directory as a destination for a file (e.g. sftp).
Previously, running
get
with a directory as the destination argument would return an "is a directory" error message. Now it checks ifdst
is a directory before downloading and appends the filename if that's the case.Rationale: Most file utilities allow specifying a directory as a destination for a file (e.g.
sftp
).