Hi,
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?
Thanks for your confirmation.
Regards,
-----------------------------------------------------------------------
Chen Xiaolei(陈小磊)
oambase-wtk Team
Telephone: +86 10 8477 7636
Mail: [email protected]
-----------------------------------------------------------------------
------------------------------------------------------------------------------
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