Hi,
+-From: Tim Paulus <[EMAIL PROTECTED]> --------
|_Date: Wed, 24 Oct 2007 08:12:34 -0700 (PDT) __
|
|JSCH-SCP fails for files with size > java's Integer.MAX_INT, that is
2147483647 bytes. The error I see is
| java.lang.NumberFormatException: For input string: "2247744512".
|As you can guess, my file size in this case is 2247744512 bytes.
|I am using JSCH with ANT, my script looks like this:
| <scp todir="localdir"
| file="[EMAIL PROTECTED]:${ssh.path}filename.tar"
| knownhosts="${ssh.knownhosts}"
| failonerror="true"
| keyfile="${ssh.keyfile}"
| passphrase="${ssh.passphrase}"
| verbose="true"
| />
|Any known workaround, besides splitting the file?
Which ant version are you using?
I have remebered that the older ant had such a problem.
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: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users