Hi,

   +-From: "Viet H. Phan" <[EMAIL PROTECTED]> --
   |_Date: Wed, 17 Sep 2008 19:41:30 -0700 (PDT) _____
   |
   |I was using Jsch 0.1.39 to do file transfer with a SFTP server via a proxy.
   |It worked well for me in case of HTTP and SOCKS5 proxies.
   |In case of SOCKS4 proxy, it didn't work at all.
   |I looked into the class ProxySOCKS4 and saw the following code in method
   |connect(...):

   ...

   |I thought the total byte length should be 8, so I changed int len=6; 
   |to i=nt len=8; and then the SOCKS4 proxy worked for me.
   |Atsuhiko, is this a bug?

Oops, you are right.  It should be 8.
I'll fix it.

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
Fax +81-22-224-8773
Skype callto://jcraft/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to