[VFS] Uploading large files with sftp

2007-10-03 Thread Nick Vercammen
Hello all, I'm using VFS to download and upload files from/to my machines. This is the code I use for uploading a file. FileSystemOptions fsOptions = new FileSystemOptions(); try { SftpFileSystemConfigBuilder.getInstance().setStrictHostKeyChecking(fsOptions, no);

Re: [VFS] Uploading large files with sftp

2007-10-03 Thread Mario Ivankovits
Hi! When I try to upload a file larger than 20MB, I get an out of memory exception: Exception in thread main java.lang.OutOfMemoryError: Java heap space Try using the latest svn source. There this should be fixed already. Ciao, Mario

Confused by fileupload download/doc/snapshot

2007-10-03 Thread Keno Albrecht
Hi, I am a little bit confused by the inconsistency of the fileupload documentation, latest download version (1.2), and nightly snapshot release. 1) The documentation (http://commons.apache.org/fileupload/using.html) does not match the functionality of the latest download version (1.2).

JEXL multi-statements in expression

2007-10-03 Thread Trevor Harrison
I'm brand new to JEXL, and ran into something a little strange that took me quite a while to wrap my head around. I was playing around with different expressions to see what was valid, and ran into a problem with this: i = 0; while ( i 10 ) i = i + 1; which only executes the i = 0; and then

Re: JEXL multi-statements in expression

2007-10-03 Thread Trevor Harrison
Ah. Bangs head. Thanks. On 10/3/07, Rahul Akolkar [EMAIL PROTECTED] wrote: Use the ScriptFactory [1] instead. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]