Re: Reflection Utils

2015-05-28 Thread Steven Siebert
also take a look at the weaver project... https://commons.apache.org/proper/commons-weaver/ On Thu, May 28, 2015 at 4:55 PM, Timo mailant...@gmail.com wrote: Hello everyone, I was wondering if there is a utility somewhere in Commons with which I can get all fields of a class with a given

Re: Commons FTP Access file twice parallelly

2011-10-17 Thread Steven Siebert
How many simultaneous connections for a set of credentials are permitted on the server? The default for most *nix systems I've seen is 10, but could have been set to something different... S On Mon, Oct 17, 2011 at 10:02 AM, sum124 sumukh_de...@yahoo.com wrote: Hello, Scenario: TWO Cronjob

Re: Commons FTP Access file twice parallelly

2011-10-17 Thread Steven Siebert
So I understand...you changed the server side of this from a Unix to Windows server, and your application is working now? Can you have more than one simultaneous connection with the unix server when not downloading the same file? I'm asking about this because I experienced a similar situation

Re: [vfs] Issue encountered when connecting to a SFTP

2011-01-06 Thread Steven Siebert
Hi Heshan, You can either do that (tell VFS where the know-hosts file is): FileSystemOptions o = new FileSystemOptions (); SftpFileSystemConfigBuilder.getInstance().setKnownHosts(o, new File(myKnownHostsDir)); FileObject fo = VFS.getManager().resolveFile(myURI, o); or tell it to ignore strict

[pool] Smart (aka auto-configure) pools

2010-11-04 Thread Steven Siebert
First, Paul, nice presentation at ApacheCon =) I came up after the discussion to mention a feature I added to my pool implementation, wanted to record this here and get community thoughts. What I have done for a customer (non-releasable, but I can re-implement much cleaner) was essentially

Re: [VFS] The same FileObject.exist() call returns different values in Windows 7 and Linux Ubuntu while connected to simple FTP

2010-10-14 Thread Steven Siebert
home FTP server on port 10021. The same error is appearing. Can you please check it? Thanks. On 08.10.2010 20:21, Steven Siebert wrote: Ah, my apologies, I didn't notice that in the first email. I'll give the port a change tonight and hopefully I can replicate. S On Fri, Oct 8, 2010

Re: [VFS] The same FileObject.exist() call returns different values in Windows 7 and Linux Ubuntu while connected to simple FTP

2010-10-08 Thread Steven Siebert
it working with regular 21 port. I have problems only with not default port, for example 1. Please try it. Thanks. On 07.10.2010 5:40, Steven Siebert wrote: So, just ran the tests... I connect to server using the ftp://user:p...@hostname/path/to/file/test.txt.asc.pgp and ask if it exists

Re: [VFS] The same FileObject.exist() call returns different values in Windows 7 and Linux Ubuntu while connected to simple FTP

2010-10-06 Thread Steven Siebert
Hey JProI'll take a look at this tonight. If I understand correctly, the destination server remains the same between both calls (what OS is the destination server?). The only thing you are changing is the client your running your app on? Please confirm the name of the file you are trying to

Re: [VFS] The same FileObject.exist() call returns different values in Windows 7 and Linux Ubuntu while connected to simple FTP

2010-10-06 Thread Steven Siebert
neededFile.exists(); If you need any more additional information, please ask, I'll give it to you. Thank you very much in advance. On 06.10.2010 21:16, Steven Siebert wrote: Hey JProI'll take a look at this tonight. If I understand correctly, the destination server remains

Re: [cli] Why is the Constructor to CommandLine package protected?

2010-09-28 Thread Steven Siebert
Hi Jason, You're right, the CommandLine constructor is package-private (default) access and therefore can't be extended outside the package. I don't think this was the intent of the developers, since the CommandLine and CommandLineParser classes are not marked final. I attached a quick patch,

Re: [vfs] Does VFS already has support for FTPS (FTP over SSL)?

2010-08-09 Thread Steven Siebert
I'm sorry I didn't see this Yes, FTPS is supported. http://commons.apache.org/vfs/filesystems.html#SFTP%20http://commons.apache.org/vfs/filesystems.html#SFTP See API: http://commons.apache.org/vfs/apidocs/org/apache/commons/vfs/provider/sftp/package-summary.html I am successfully using it

Re: [fileupload]:Storing file on disk temporarily

2010-07-13 Thread Steven Siebert
Hi Nitin, One use case for this is file size. If the file you are uploading is quite large, it's often a good idea to use a temp file on disk so that the entire contents of the file aren't stored in memory before processing. So, for example, if your client is uploading a 25MB file, instead of

Re: [fileupload]:Storing file on disk temporarily

2010-07-13 Thread Steven Siebert
Oracle Financial Services Software Limited was formerly i-flex solutions limited. [image: Green Oracle] http://www.oracle.com/commitment Oracle is committed to developing practices and products that help protect the environment *From:* Steven Siebert [mailto:smsi...@gmail.com] *Sent