PSFTP: when choosing a default destination filename for `get' and
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 12 Sep 2001 20:16:45 +0000 (20:16 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 12 Sep 2001 20:16:45 +0000 (20:16 +0000)
commitdcf8495c8d658ff9981c76cb0ea8e3a58f8d87d9
tree04c0ef092effb9d8026d79ab218b6a785524a791
parentd27b4a18b02db3bab2bb9f096183b093c7ff27ef
PSFTP: when choosing a default destination filename for `get' and
`put', it makes more sense to pick the _basename_ of the source
rather than use the whole path - particularly when the latter might
cause us to try to use a DOS pathname like `f:\stuff' in a Unix (or
worse, such as VMS!) file system.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1265 cda61777-01e9-0310-a592-d414129be87e
psftp.c