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 lmk
Hi Sergey, here the exception trace org.apache.commons.vfs.FileSystemException: Unknown scheme "sftp" in URI "sftp://login:passw...@host/path/";. detailMessage=vfs.impl/unknown-scheme.error regards! Sergey Vladimirov wrote: > > Hi, lmk. > > Can you provi

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: org.

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 list archive at

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

2008-12-15 Thread lmk
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?? lmk wrote: > > I dont have a DNS server installed, the host cannot be found b

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

2008-12-15 Thread lmk
Actually I have a host name defined on hosts file, but, I cannot ping it however. I can connect to SFTP server with Win SCP, I put the server ip address and it works .. lmk wrote: > > how can I do that? > > > > Jörg Schaible-2 wrote: >> >> lmk wrote at M

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

2008-12-15 Thread lmk
how can I do that? Jörg Schaible-2 wrote: > > 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 lo

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

[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 StaticUserAuthenticator