Hi,

   +-From: "CHEN Xiaolei A" <[email protected]> --
   |_Date: Tue, 28 Sep 2010 10:48:12 +0800 _________________________
   |
   |   I use ChannelSftp.get(String, String) to download a remote regular
   |file (without read permission) to local.  I suppose that in this case,
   |local file will not be created, but an empty local file is created.
   |   Do I miss something to avoid creating empty file when
   |ChannelSftp.get(String, String) failed for permission denial?  Or I must
   |delete this empty file manually when catching corresponding exception?

Oops, empty files should not be left on such a case.
I'll change the behavior.
Thank you for your suggestion.


Sincerely,
--
Atsuhiko Yamanaka
JCraft,Inc.
1-14-20 HONCHO AOBA-KU,
SENDAI, MIYAGI 980-0014 Japan.
Tel +81-22-723-2150
    +1-415-578-3454
Skype callto://jcraft/
Twitter: @ymnk

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to