Hi, +-From: Ricardo Cabrera <rycard...@gmail.com> -- |_Date: Sat, 1 Aug 2009 12:24:08 +0200 _________ | |Im search for bandwidth limit function to an sftp transfer |it's possible? |Im search a lot in the home site and wiki with no success |tank
There are not APIs for restricting bandwith limit, but com.jcraft.jsch.SftpProgressMonitor intermace may work for you, public interface SftpProgressMonitor{ public static final int PUT=0; public static final int GET=1; void init(int op, String src, String dest, long max); boolean count(long count); void end(); } How about adding delays to control the bandwith limit in your own its implementation? 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/ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users