[commons-vfs] Using a unique FileSystemManager instance???

2009-10-12 Thread nodje
Is there anything wrong with that way of doing? cheers -nodje -- View this message in context: http://www.nabble.com/-commons-vfs--Using-a-unique-FileSystemManager-instancetp25866902p25866902.html Sent from the Commons - User mailing list archive at

Failed creating file using VFS FTP

2009-10-08 Thread geek.shrek
, and ti doesn't work. I just change the path of the new path, cutting off the first "/" and it works. > FileObject f = fo.resolveFile("mynewfolder/myfile.txt"); Try that and good luck, Ernesto. geek.shrek escribió: Hi, I'm trying to create a file using VFS FTP

Re: [Bulk] Failed creating file using VFS FTP

2009-09-26 Thread Ernesto De Santis
ek.shrek escribió: Hi, I'm trying to create a file using VFS FTP but it said the file already exist eventhough it's not exists Could not create folder "ftp://myuser:myp...@123.345.678.890/"; because it already exists and is a file Here's my code. try {

Failed creating file using VFS FTP

2009-09-24 Thread geek.shrek
Hi, I'm trying to create a file using VFS FTP but it said the file already exist eventhough it's not exists Could not create folder "ftp://myuser:myp...@123.345.678.890/"; because it already exists and is a file Here's my code. try {

Re: [VFS] Minimum Java version

2009-08-22 Thread Ralph Goers
On Aug 22, 2009, at 2:12 AM, sebb wrote: 1.5 offers a lot of enhancements over 1.4. Does 1.6 offer anything essential to VFS at run-time? If not, then stick with 1.5 to avoid unnecessarily excluding users. I agree with that. Ralph

Re: [VFS] Minimum Java version

2009-08-22 Thread sebb
1.5 offers a lot of enhancements over 1.4. Does 1.6 offer anything essential to VFS at run-time? If not, then stick with 1.5 to avoid unnecessarily excluding users. On 22/08/2009, Gary Gregory wrote: > > -Original Message- > > From: Ted Dunning [mailto:ted.dunn...@gmail.co

RE: [VFS] Minimum Java version

2009-08-22 Thread Gary Gregory
> -Original Message- > From: Ted Dunning [mailto:ted.dunn...@gmail.com] > Sent: Saturday, August 22, 2009 1:03 AM > To: Commons Users List > Subject: Re: [VFS] Minimum Java version > > +1 for 1.6 Since we are +1'ing, +1 for 1.6 (or a least 1.5) G > >

Re: [VFS] Minimum Java version

2009-08-22 Thread Ted Dunning
+1 for 1.6 On Sat, Aug 22, 2009 at 12:57 AM, rzo wrote: > +1 for 1.5 > > - Ron > http://sourceforge.net/projects/yajsw/ > > da...@davidkarlsen.com wrote: > >> On Wed, 19 Aug 2009, Ralph Goers wrote: >> >> Currently the minimum Java version for VFS 2.0 is

Re: [VFS] Minimum Java version

2009-08-22 Thread rzo
+1 for 1.5 - Ron http://sourceforge.net/projects/yajsw/ da...@davidkarlsen.com wrote: On Wed, 19 Aug 2009, Ralph Goers wrote: Currently the minimum Java version for VFS 2.0 is 1.4. VFS 2.0 has not been released and the developers are considering making the minimum version JDK 5. We are

Re: [VFS] Minimum Java version

2009-08-21 Thread david
On Wed, 19 Aug 2009, Ralph Goers wrote: Currently the minimum Java version for VFS 2.0 is 1.4. VFS 2.0 has not been released and the developers are considering making the minimum version JDK 5. We are interested in getting feedback from the community however before this change is made. So

RE: [VFS] Minimum Java version

2009-08-19 Thread Gary Gregory
> -Original Message- > From: Ralph Goers [mailto:ralph.go...@dslextreme.com] > Sent: Wednesday, August 19, 2009 10:53 AM > To: Commons Users List > Subject: Re: [VFS] Minimum Java version > > > On Aug 19, 2009, at 9:22 AM, Gary Gregory wrote: > > >>

Re: [VFS] Minimum Java version

2009-08-19 Thread Ralph Goers
On Aug 19, 2009, at 9:22 AM, Gary Gregory wrote: -Original Message- From: Niall Pemberton [mailto:niall.pember...@gmail.com] Sent: Wednesday, August 19, 2009 7:40 AM To: Commons Users List Subject: Re: [VFS] Minimum Java version On Wed, Aug 19, 2009 at 3:34 PM, Ralph Goers> wr

Re: [VFS] Minimum Java version

2009-08-19 Thread michele bianchi
+1 for java 5! m Ralph Goers wrote: Currently the minimum Java version for VFS 2.0 is 1.4. VFS 2.0 has not been released and the developers are considering making the minimum version JDK 5. We are interested in getting feedback from the community however before this change is made. So

Re: [VFS] Minimum Java version

2009-08-19 Thread Niall Pemberton
On Wed, Aug 19, 2009 at 5:22 PM, Gary Gregory wrote: >> -Original Message- >> From: Niall Pemberton [mailto:niall.pember...@gmail.com] >> Sent: Wednesday, August 19, 2009 7:40 AM >> To: Commons Users List >> Subject: Re: [VFS] Minimum Java version >>

RE: [VFS] Minimum Java version

2009-08-19 Thread Mario Ivankovits
Hi! +1 on Java 5. > Are they going to change the package name? Let's discuss this once we cross this bridge. Ciao, Mario - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@

RE: [VFS] Minimum Java version

2009-08-19 Thread Gary Gregory
> -Original Message- > From: Niall Pemberton [mailto:niall.pember...@gmail.com] > Sent: Wednesday, August 19, 2009 7:40 AM > To: Commons Users List > Subject: Re: [VFS] Minimum Java version > > On Wed, Aug 19, 2009 at 3:34 PM, Ralph Goers > wrote: > > The pa

RE: [VFS] Minimum Java version

2009-08-19 Thread Gary Gregory
+1 for Java 5. Gary > -Original Message- > From: Ralph Goers [mailto:ralph.go...@dslextreme.com] > Sent: Wednesday, August 19, 2009 7:18 AM > To: Commons Developers List; Commons Users List > Subject: [VFS] Minimum Java version > > Currently the minimum Java versi

Re: [VFS] Minimum Java version

2009-08-19 Thread James Carman
mons. It was > commons-vfs for VFS 1.0, so it would already be possible to have both jars > simultaneously. So if the package names are not changed then the pom needs > to be changed to use commons-vfs as the groupId before 2.0 is formally > released. > > Ralph > > On Aug 19

Re: [VFS] Minimum Java version

2009-08-19 Thread Mark Fortner
I wonder if the BSD-licensed Retroweaver (http://retroweaver.sf.net) could be used to provide 1.4 binary compatibility for those who need it? Regards, Mark Fortner

Re: [VFS] Minimum Java version

2009-08-19 Thread Ralph Goers
The maven group id for 2.0 is currently org.apache.commons. It was commons-vfs for VFS 1.0, so it would already be possible to have both jars simultaneously. So if the package names are not changed then the pom needs to be changed to use commons-vfs as the groupId before 2.0 is formally

Re: [VFS] Minimum Java version

2009-08-19 Thread Ralph Goers
On Aug 19, 2009, at 7:18 AM, Ralph Goers wrote: Currently the minimum Java version for VFS 2.0 is 1.4. VFS 2.0 has not been released and the developers are considering making the minimum version JDK 5. We are interested in getting feedback from the community however before this change is

Re: [VFS] Minimum Java version

2009-08-19 Thread Niall Pemberton
ld have broken compatibility - so we didn't make those changes and therefore haven't had to do a package re-name. If VFS decides to moved to JDK 1.5 I would suggest doing compatible changes first and then creating a list/patch of incompatible changes for review - then make the decision based on h

Re: [VFS] Minimum Java version

2009-08-19 Thread James Carman
ing to change the package name? >> >> On Wed, Aug 19, 2009 at 10:18 AM, Ralph Goers >> wrote: >>> >>> Currently the minimum Java version for VFS 2.0 is 1.4.  VFS 2.0 has not >>> been >>> released and the developers are considering making the

Re: [VFS] Minimum Java version

2009-08-19 Thread Ralph Goers
ged to 1.4 since some of the code actually required that version to run. Ralph On Aug 19, 2009, at 7:24 AM, James Carman wrote: Are they going to change the package name? On Wed, Aug 19, 2009 at 10:18 AM, Ralph Goers> wrote: Currently the minimum Java version for VFS 2.0 is 1.4. VFS

Re: [VFS] Minimum Java version

2009-08-19 Thread Ryan McKinley
+1 for java 5! On Aug 19, 2009, at 10:18 AM, Ralph Goers wrote: Currently the minimum Java version for VFS 2.0 is 1.4. VFS 2.0 has not been released and the developers are considering making the minimum version JDK 5. We are interested in getting feedback from the community however

Re: [VFS] Minimum Java version

2009-08-19 Thread James Carman
Are they going to change the package name? On Wed, Aug 19, 2009 at 10:18 AM, Ralph Goers wrote: > Currently the minimum Java version for VFS 2.0 is 1.4.  VFS 2.0 has not been > released and the developers are considering making the minimum version JDK > 5. We are interested in getting

[VFS] Minimum Java version

2009-08-19 Thread Ralph Goers
Currently the minimum Java version for VFS 2.0 is 1.4. VFS 2.0 has not been released and the developers are considering making the minimum version JDK 5. We are interested in getting feedback from the community however before this change is made. So please respond with your thoughts on

Re: [VFS] Re: Set the transfer mode to ASCII in a file system

2009-08-06 Thread Ralph Goers
On Aug 6, 2009, at 1:16 AM, Jörg Schaible wrote: Ralph Goers wrote at Dienstag, 4. August 2009 17:28: You're welcome. I would suggest opening a Jira issue on this and providing some suggestions on how you would like it to behave. This is VFS-182 and a patch is available ;-) Oh,

Re: [VFS] Re: Set the transfer mode to ASCII in a file system

2009-08-06 Thread Jörg Schaible
Ralph Goers wrote at Dienstag, 4. August 2009 17:28: > You're welcome. I would suggest opening a Jira issue on this and > providing some suggestions on how you would like it to behave. This is VFS-182 and a patch is available

Re: [VFS] Re: Set the transfer mode to ASCII in a file system

2009-08-04 Thread Ralph Goers
ul 31, 2009, at 3:59 AM, arenger wrote: Hi, I know that by default the transfer mode in commons VFS is Binary. Throuh the FtpFileSystemConfigBuilder is possible to modify some properties of the FTP connection but definitely the transfer mode is not one of them. Does anybody know how to change

Re: [VFS] Re: Set the transfer mode to ASCII in a file system

2009-08-04 Thread arenger
d be added as a FileSystemOption but you would then > end up with two ftp connections being established, one for ASCII and > one for binary. > > Ralph > > On Jul 31, 2009, at 3:59 AM, arenger wrote: > >> >> Hi, >> >> I know that by default t

[VFS] Re: Set the transfer mode to ASCII in a file system

2009-07-31 Thread Ralph Goers
being established, one for ASCII and one for binary. Ralph On Jul 31, 2009, at 3:59 AM, arenger wrote: Hi, I know that by default the transfer mode in commons VFS is Binary. Throuh the FtpFileSystemConfigBuilder is possible to modify some properties of the FTP connection but definitely

Re: [vfs] why is FileSystemConfigBuilder.setParam() protected?

2009-05-29 Thread Benoit Maisonny
> For the setParam(String, String) approach VFS provides the > DelegatingFileSystemOptionsBuilder which then allows you to use > setConfigString/setConfigClass which accepts just strings and uses reflection > to coerce it to the required type. This was created to populate the >

RE: [vfs] why is FileSystemConfigBuilder.setParam() protected?

2009-05-29 Thread Mario Ivankovits
> This is one of my least favorite parts of VFS. To configure > FileSystemOptions you have to use the appropriate > FileSystemConfigBuilder. I can't tell you why it was done this way as > it precedes my involvement, but I've considered reinventing this more > t

Re: [vfs] why is FileSystemConfigBuilder.setParam() protected?

2009-05-28 Thread Ralph Goers
I guess I could write my own sub-class of FileSystemConfigBuilder which would offer a public setter, but this sounds like building my own backdoor to rob the VFS house :-) Thanks for any insight. Benoit This is one of my least favorite parts of VFS. To configure FileSystemOptions you have to use

[vfs] why is FileSystemConfigBuilder.setParam() protected?

2009-05-28 Thread Benoit Maisonny
h would offer a public setter, but this sounds like building my own backdoor to rob the VFS house :-) Thanks for any insight. Benoit - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands,

Re: VFS LocalFile#getLocalFile() protected?

2009-05-14 Thread Ryan McKinley
temporary place. Ciao, Mario -Original Message- From: Ryan McKinley [mailto:ryan...@gmail.com] Sent: Friday, May 15, 2009 4:37 AM To: user@commons.apache.org Subject: VFS LocalFile#getLocalFile() protected? Is there any reason LocalFile#getLocalFile() is protected rather then public? Since

RE: VFS LocalFile#getLocalFile() protected?

2009-05-14 Thread Mario Ivankovits
15, 2009 4:37 AM To: user@commons.apache.org Subject: VFS LocalFile#getLocalFile() protected? Is there any reason LocalFile#getLocalFile() is protected rather then public? Since the process to reconstruct a File object is kinda clunky, it would be nice to just have access directly to the file

VFS LocalFile#getLocalFile() protected?

2009-05-14 Thread Ryan McKinley
Hello- Is there any reason LocalFile#getLocalFile() is protected rather then public? Since the process to reconstruct a File object is kinda clunky, it would be nice to just have access directly to the file object. ryan

Re: common vfs

2009-05-09 Thread Rahul Akolkar
On Thu, May 7, 2009 at 10:05 PM, Ralph Goers wrote: > Yes. I am actively working on it.  I have some final tasks that I am > finishing up in the webdav support. Then the issues with regard to findbugs > problems should be addressed. I would like to address as many of the > checkstyle errors as pos

Re: common vfs

2009-05-08 Thread Ralph Goers
Please don't email privately. Followups should remain on this list. You should try checking out trunk and see if that works better for you. I make no guarantees as I haven't made any changes to the FTP provider and can't say what might have been done before I started

Re: common vfs

2009-05-07 Thread Ralph Goers
he commons PMC and since I haven't actually done one before I'm sure I'm going to require some assistance. Is there something specific you need? (besides the release of course) Ralph On May 7, 2009, at 3:19 PM, Trin Chavalittumrong wrote: Hi, I can see that common vfs is

common vfs

2009-05-07 Thread Trin Chavalittumrong
Hi, I can see that common vfs is still active but do not see any new releases for download. Anyone knows what is going on? Thanks, Trin

Re: is this a usecase for commons vfs?

2009-05-05 Thread Mark Fortner
nio appropriate for your application? > > > > Gary > > > >> -Original Message- > >> From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com] > >> Sent: Monday, May 04, 2009 1:55 PM > >> To: user@commons.apache.org > >> Subject: is this

Re: is this a usecase for commons vfs?

2009-05-05 Thread Leon Rosenberg
l.com] >> Sent: Monday, May 04, 2009 1:55 PM >> To: user@commons.apache.org >> Subject: is this a usecase for commons vfs? >> >> Hello, >> >> in my search for a solution for my problem I came across commons vfs. >> After reading the wiki and some of

RE: is this a usecase for commons vfs?

2009-05-04 Thread Gary Gregory
Hi Leon, Is java.nio appropriate for your application? Gary > -Original Message- > From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com] > Sent: Monday, May 04, 2009 1:55 PM > To: user@commons.apache.org > Subject: is this a usecase for commons vfs? > > Hel

Re: is this a usecase for commons vfs?

2009-05-04 Thread jieryn
Hello Leon, On Mon, May 4, 2009 at 4:55 PM, Leon Rosenberg wrote: > > magic :-) By the end of the day we want to have something like few > 4096 bytes large files on the fs with 10 496 bytes long messages in > it. > Just a very quick point: 4096 != 10 * 496:-) -jesse ---

is this a usecase for commons vfs?

2009-05-04 Thread Leon Rosenberg
Hello, in my search for a solution for my problem I came across commons vfs. After reading the wiki and some of the docs I'm not sure whether I can (rather not yet, but maybe in the near future?) achieve my task with commons vfs, hence I'm searching for enlightment. We have an internal

Re: [VFS] problem on runtime connection to SFTp server

2009-03-26 Thread lmk
It seems that the problem comes from release function, when I call It after copying files, the second SFTP connection fail. lmk wrote: > > I have > commons-net-2.0 > commons-vfs-1.0 > jsch-0.1.40 > > > the first call works..but the second one does not. > >

Re: [VFS] problem on runtime connection to SFTp server

2009-03-24 Thread lmk
I have commons-net-2.0 commons-vfs-1.0 jsch-0.1.40 the first call works..but the second one does not. Jörg Schaible-2 wrote: > > lmk wrote at Dienstag, 24. März 2009 14:58: > >> >> Hi Sergey, >> >> here the exception trace >> >> org.ap

Re: [VFS] problem on runtime connection to SFTp server

2009-03-24 Thread Jörg Schaible
lmk wrote at Dienstag, 24. März 2009 14:58: > > Hi Sergey, > > here the exception trace > > org.apache.commons.vfs.FileSystemException: Unknown scheme "sftp" in URI > "sftp://login:passw...@host/path/";. This is an error message, but not a stack trace. However, it seems that you do not have co

Re: [VFS] problem on runtime connection to SFTp server

2009-03-24 Thread lmk
de full stack trace of exception, please? > > -- > Sergey Vladimirov > > On Tue, Mar 24, 2009 at 12:09 PM, lmk wrote: >> >> I get a strange problem, >> >> the first time I try to  get files it works, the second one, it does not >> work. same directo

Re: [VFS] problem on runtime connection to SFTp server

2009-03-24 Thread Sergey Vladimirov
> > > lmk wrote: >> >> Hi all, >> >> Im using VFS to  get SFTP files, when I try to get files on the main >> methode, it works, but when, calling the same method with the same >> parameters  on tomcat 5.5 web app does not work. >> I get the excep

Re: [VFS] problem on runtime connection to SFTp server

2009-03-24 Thread lmk
I get a strange problem, the first time I try to get files it works, the second one, it does not work. same directoty, same login... lmk wrote: > > Hi all, > > Im using VFS to get SFTP files, when I try to get files on the main > methode, it works, but when, calling the s

Re: [VFS] problem on runtime connection to SFTp server

2009-03-23 Thread lmk
Im using a DefaultFileSystemManager the exception occured on : dfsManager.resolveFile(path, fsop); Best regards! lmk wrote: > > Hi all, > > Im using VFS to get SFTP files, when I try to get files on the main > methode, it works, but when, calling the same method with the sa

[VFS] problem on runtime connection to SFTp server

2009-03-23 Thread lmk
Hi all, Im using VFS to get SFTP files, when I try to get files on the main methode, it works, but when, calling the same method with the same parameters on tomcat 5.5 web app does not work. I get the exception .;: java.lang.RuntimeException: SFTP error parsing path /myFolder. Caused by

Re:[VFS]how to programmatically create an instance of DefaultFileSystemManager

2009-02-18 Thread Mark Shifman
I made my own manager to do my own services. This might help you. package org.VFSManagers; import org.apache.commons.vfs.FileSystemException; import org.apache.commons.vfs.FileSystemManager; import org.apache.commons.vfs.impl.DefaultFileSystemManager; import org.apache.commons.vfs.provider.local

Re: does vfs use jackrabbit for webdav?

2009-02-11 Thread Ralph Goers
The trunk branch of VFS is using Jackrabbit. Ralph On Feb 11, 2009, at 12:30 AM, Matthias Haider wrote: Hi, Does apache vfs still use slide for webdav access or did jackrabbit replace slide there? br, Matthias - To

Re: does vfs use jackrabbit for webdav?

2009-02-11 Thread Jukka Zitting
Hi, On Wed, Feb 11, 2009 at 9:30 AM, Matthias Haider wrote: > Does apache vfs still use slide for webdav access or > did jackrabbit replace slide there? At least the current VFS trunk has a dependency on the jackrabbit-webdav library. I'm not sure if that is the case on any released

does vfs use jackrabbit for webdav?

2009-02-11 Thread Matthias Haider
Hi, Does apache vfs still use slide for webdav access or did jackrabbit replace slide there? br, Matthias smime.p7s Description: S/MIME cryptographic signature

commons-vfs - connection to ftp:// url hangs on resolveFile

2009-02-04 Thread Ramon Buckland
commons-vfs is hanging on the call to resolve ftp://admin:ad...@localhost :non-standard-port/path/to/dir ref: http://markmail.org/message/2jscgmpspidzfcwf I am experiencing the same issue at the moment. I notice that no one has a resolution to this issue, (and it was a long time ago) nor does it

Re: [VFS] Status of current snapshot build

2009-01-27 Thread James Carman
upport and still have a few more to go. > Ralph > > On Tue, Jan 27, 2009 at 5:08 AM, Arjen van Staalduinen < > arjen.van.staaldui...@gmail.com> wrote: > >> Hello, >> >> We've been making serious use of the VFS in a current project that I work >> o

Re: [VFS] Status of current snapshot build

2009-01-27 Thread ralph.goers @dslextreme.com
Are you looking for a release of trunk (2.0)? I've been making some enhancements to the webdav support and still have a few more to go. Ralph On Tue, Jan 27, 2009 at 5:08 AM, Arjen van Staalduinen < arjen.van.staaldui...@gmail.com> wrote: > Hello, > > We've been making

Re: [VFS] Status of current snapshot build

2009-01-27 Thread Rahul Akolkar
On Tue, Jan 27, 2009 at 8:08 AM, Arjen van Staalduinen wrote: > Hello, > > We've been making serious use of the VFS in a current project that I work > on, but in the current 1.0 release there seem to be some very nasty > concurrency issues. I've come across some issues

RE: [VFS] Status of current snapshot build

2009-01-27 Thread Gary Gregory
. Gary -Original Message- From: Arjen van Staalduinen [mailto:arjen.van.staaldui...@gmail.com] Sent: Tuesday, January 27, 2009 5:09 AM To: user@commons.apache.org Subject: [VFS] Status of current snapshot build Hello, We've been making serious use of the VFS in a current project t

[VFS] Status of current snapshot build

2009-01-27 Thread Arjen van Staalduinen
Hello, We've been making serious use of the VFS in a current project that I work on, but in the current 1.0 release there seem to be some very nasty concurrency issues. I've come across some issues in the bugtracking system that I've also encountered, and a self build snapshot v

RE: [vfs] Copying byte[] to destination file

2009-01-23 Thread Matt Benson
--- "Walter, Patrick A" wrote: > OK... > Do you mean the IOUtil's from VFS or java? I meant from commons-io. > There is a VFS FileUtil with a > writeContent(FileObject file, java.io.OutputStream > outstr) method. But what I want something l

RE: [vfs] Copying byte[] to destination file

2009-01-23 Thread Walter, Patrick A
OK... Do you mean the IOUtil's from VFS or java? There is a VFS FileUtil with a writeContent(FileObject file, java.io.OutputStream outstr) method. But what I want something like writeContent(byte[] data, java.io.OutputStream outstr) or writeContent(byte[] data, FileObject out) What doe

RE: [vfs] Copying byte[] to destination file

2009-01-23 Thread Matt Benson
= > fsm.resolveFile(outfilename); >OutputStream os = > outFileObject.getContent().getOutputStream(); >os.write(data); > } > > Does this look right? > Will this work for all types of file output (FTP, > Local, HTTP, HTTPS, SFTP, et.)? I am not an authority on VFS, but that looks

RE: [vfs] Copying byte[] to destination file

2009-01-23 Thread Walter, Patrick A
(); os.write(data); } Does this look right? Will this work for all types of file output (FTP, Local, HTTP, HTTPS, SFTP, et.)? thanks -Original Message- From: Matt Benson [mailto:gudnabr...@yahoo.com] Sent: Friday, January 23, 2009 12:01 PM To: Commons Users List Subject: Re: [vfs

Re: [vfs] Copying byte[] to destination file

2009-01-23 Thread Matt Benson
Note that I have added the component ID to the subject line: I'm not sure I entirely understand the question. If I wanted to copy a byte[] to a VFS FileObject I would use commons-io IOUtils to copy the byte[] to fileObject.getContent().getOutputStream(). Does this help? -Matt --- &q

Re: [VFS] File names are NOT case sensitive on Windows

2009-01-12 Thread Ralph Goers
On Jan 12, 2009, at 5:15 AM, Schuster, Stephan (Wilken GmbH) wrote: Hi together, I just encountered the following problem with Commons VFS on Windows: FileSystemManager fsManager = VFS.getManager(); FileObject fo1 = fsManager.resolveFile("c:\\test.txt"); // lower case File

problem loading file with commons vfs

2009-01-12 Thread Cyril Leitner
Hello, I got a pretty frustrating (and probably pretty basic) problem with loading a local file using vfs :-) - I am using the vfs library indirectly through the mondrian olap server library (standalone, not on app server) which calls it to load some of its configuration files - vfs can't

[vfs] File names are NOT case sensitive on Windows

2009-01-12 Thread Schuster, Stephan (Wilken GmbH)
Hi together, I just encountered the following problem with Commons VFS on Windows: FileObject fo1 = new FileObject("c:\\test.txt"); // lower case FileObject fo2 = new FileObject("C:\\test.txt"); // upper case System.out.println(fo1.equals(fo2)); // false but should be tr

[VFS] File names are NOT case sensitive on Windows

2009-01-12 Thread Schuster, Stephan (Wilken GmbH)
Hi together, I just encountered the following problem with Commons VFS on Windows: FileSystemManager fsManager = VFS.getManager(); FileObject fo1 = fsManager.resolveFile("c:\\test.txt"); // lower case FileObject fo2 = fsManager.resolveFile("C:\\test.txt"); // upper case Sy

Antwort: problem loading file with commons vfs

2009-01-12 Thread Michael Fuerstenberg
nfo(srcDir); } } Could I help you with this code example? Hello, I got a pretty frustrating (and probably pretty basic) problem with loading a local file using vfs :-) - I am using the vfs library indirectly through the mondrian olap server library (standalone, not on app ser

problem loading file with commons vfs

2009-01-12 Thread Cyril Leitner
Hello, I got a pretty frustrating (and probably pretty basic) problem with loading a local file using vfs :-) - I am using the vfs library indirectly through the mondrian olap server library (standalone, not on app server) which calls it to load some of its configuration files - vfs can't

Re: [VFS][SFTP] cannot connect to SFT server

2008-12-15 Thread Jörg Schaible
lmk wrote at Montag, 15. Dezember 2008 15:55: > > I passed to the last version of jcraft I get more explicit exception: > > UnknownHostKey: x.x.x.x. RSA key fingerprint is > 0d:51:c6:7f:e1:84:5e:37:8b:93:29:bd:d4:d1:ba:79 > > how can I verify the host key?? OK, this is really something differe

Re: [VFS][SFTP] cannot connect to SFT server

2008-12-15 Thread Jörg Schaible
lmk wrote at Montag, 15. Dezember 2008 15:33: > > Actually I have a host name defined on hosts file, but, I cannot ping it > however. Well, that should be possible if the entry in the hosts file is correct and the hosts file is in use. > I can connect to SFTP server with Win SCP, I put the serv

Re: [VFS][SFTP] cannot connect to SFT server

2008-12-15 Thread Jörg Schaible
lmk wrote at Montag, 15. Dezember 2008 15:18: > > how can I do that? http://en.wikipedia.org/wiki/Hosts_file - Jörg - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@comm

Re: [VFS][SFTP] cannot connect to SFT server

2008-12-15 Thread lmk
I resolve the problem by adding SftpFileSystemConfigBuilder.getInstance().setStrictHostKeyChecking(ops, "no"); thanks.. -- View this message in context: http://www.nabble.com/-VFS--SFTP--cannot-connect-to-SFT-server-tp21011512p21015554.html Sent from the Commons - User mailing li

Re: [VFS][SFTP] cannot connect to SFT server

2008-12-15 Thread lmk
y name. > > > Jörg Schaible-2 wrote: >> >> Well, >> >> lmk wrote at Montag, 15. Dezember 2008 11:35: >> >>> >>> Hi all, >>> >>> I try vainly to use VFS to connect to SFTP server . >>> I do the same as exp

Re: [VFS][SFTP] cannot connect to SFT server

2008-12-15 Thread lmk
--- >> To unsubscribe, e-mail: user-unsubscr...@commons.apache.org >> For additional commands, e-mail: user-h...@commons.apache.org >> >> >> > > -- View this message in context: http://www.nabble.c

Re: [VFS][SFTP] cannot connect to SFT server

2008-12-15 Thread lmk
cal hosts file. > > - Jörg > > > - > To unsubscribe, e-mail: user-unsubscr...@commons.apache.org > For additional commands, e-mail: user-h...@commons.apache.org > > > -- View this message in context: http://www.nabble.com/-VFS--SF

Re: [VFS][SFTP] cannot connect to SFT server

2008-12-15 Thread Jörg Schaible
lmk wrote at Montag, 15. Dezember 2008 14:20: > > I dont have a DNS server installed, the host cannot be found by name. Well, you may temporarily add an entry to your local hosts file. - Jörg - To unsubscribe, e-mail: user-un

Re: [VFS][SFTP] cannot connect to SFT server

2008-12-15 Thread lmk
I dont have a DNS server installed, the host cannot be found by name. Jörg Schaible-2 wrote: > > Well, > > lmk wrote at Montag, 15. Dezember 2008 11:35: > >> >> Hi all, >> >> I try vainly to use VFS to connect to SFTP server . >> I do the s

Re: [VFS][SFTP] cannot connect to SFT server

2008-12-15 Thread Jörg Schaible
Well, lmk wrote at Montag, 15. Dezember 2008 11:35: > > Hi all, > > I try vainly to use VFS to connect to SFTP server . > I do the same as explained on > http://wiki.apache.org/commons/SimpleSftpFileDownload wiki page [snip] > Caused by: com.jcraft.jsch.JSchException: Un

[VFS][SFTP] cannot connect to SFT server

2008-12-15 Thread lmk
Hi all, I try vainly to use VFS to connect to SFTP server . I do the same as explained on http://wiki.apache.org/commons/SimpleSftpFileDownload wiki page here a snippet code FileSystemManager fsManager = VFS.getManager(); UserAuthenticator auth = new

Re: VFS - Could not load VFS configuration

2008-12-11 Thread Per Hermansson
Done VFS-228 Mario Ivankovits wrote: Yes, but don't forget to attach a patch :-) Ciao, Mario -Original Message- From: Per Hermansson [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2008 11:31 PM To: Commons Users List Subject: Re: VFS - Could not load VFS configurati

RE: VFS - Could not load VFS configuration

2008-12-10 Thread Mario Ivankovits
Yes, but don't forget to attach a patch :-) Ciao, Mario > -Original Message- > From: Per Hermansson [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 10, 2008 11:31 PM > To: Commons Users List > Subject: Re: VFS - Could not load VFS configuration > > I

Re: VFS - Could not load VFS configuration

2008-12-10 Thread Per Hermansson
ay, December 10, 2008 8:08 PM To: Commons Users List Subject: Re: VFS - Could not load VFS configuration Hi I've build it using mvn install from the core directory and I've verified that the class file is actually in the jar file. This problem might not be related to VFS but I can't

RE: VFS - Could not load VFS configuration

2008-12-10 Thread Mario Ivankovits
n.com/developer/TechTips/2000/tt1128.html > -Original Message- > From: Per Hermansson [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 10, 2008 8:08 PM > To: Commons Users List > Subject: Re: VFS - Could not load VFS configuration > > Hi > I've build it usi

Re: VFS - Could not load VFS configuration

2008-12-10 Thread Per Hermansson
Hi I've build it using mvn install from the core directory and I've verified that the class file is actually in the jar file. This problem might not be related to VFS but I can't understand what is causing it. Per Mario Ivanko

RE: VFS - Could not load VFS configuration

2008-12-10 Thread Mario Ivankovits
Hi! org.apache.commons.vfs.provider.local.DefaultLocalFileProvider is a class in vfs core. For me it seems there is something wrong with your vfs core jar. Please check if the class is in there. Did you build the jar by yourself? Probably something went wrong during the build process. Ciao

Re: VFS - Could not load VFS configuration

2008-12-10 Thread Per Hermansson
Hi Thanks for your help but I've now tried to add all the jars mentioned on the homepage and I still get the same exception. /Per Mark Fortner wrote: It looks like your classpath doesn't include all of the vfs libraries. You might want to check to see that you have all dependent

Re: VFS - Could not load VFS configuration

2008-12-10 Thread Mark Fortner
It looks like your classpath doesn't include all of the vfs libraries. You might want to check to see that you have all dependent libraries. The VFS project page should give you a list of dependencies. Hope this helps, Mark On Wed, Dec 10, 2008 at 4:07 AM, Per Hermansson <[EMAIL P

VFS - Could not load VFS configuration

2008-12-10 Thread Per Hermansson
Hi I'm having trouble using recent versions of Commons VFS. Current trunk gives the following error: org.apache.commons.vfs.FileSystemException: Could not load VFS configuration from "jar:file:/media/Fort/per/program/backup/lib/commons-vfs-2.0-SNAPSHOT.jar!/org/apache/common

VFS: Read contents of a tar.z file

2008-12-02 Thread stv4181
Hi, I am using VFS for a file system... I have successfully been able to get the contents of a .zip file and a tar.gz file... Can I read and copy (extract) the contents of a tar.z file? If so, what connection string should i use? Thanks -- View this message in context: http

Re: [VFS] how to merge files ?

2008-11-28 Thread Garrett Smith
On Fri, Nov 28, 2008 at 2:48 AM, <[EMAIL PROTECTED]> wrote: > Hello, > > I would like to merge all files within a folder and all its subfolders. > is there an simple way to do this with vfs ? > The concat task should be sufficient for this task. http://ant.apache.org/manual/

[VFS] Feature Request: NIO

2008-11-28 Thread rzo
Hello, currently there is no way in VFS to use NIO. It would be good if we could add (at least for local files) the method: FileChannel FileObject.getChannel(). Further suggestions ? - Ron -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go

<    1   2   3   4   5   6   7   8   >