[VFS] weird FileSystemException

2015-01-12 Thread Israel Malachi
Hi all OI got my app running using vfs-2.0 for connecting through SFTP for 48 hours no problem, and the all of a sudden I got Exception saying: "Could not determine the type of file "sftp://appshob:***@host/LOG.log"; While the app was able to connect the file few minutes earlier Restarting the

Fwd: [VFS] VFS sandbox?

2014-12-09 Thread Israel Malachi
Hi all I will try to switch line 227 On SmbFileObject if (e.getErrorCode() == SmbException.ERRbadfile) with if (e.getNtStatus() == SmbException.NT_STATUS_NO_SUCH_FILE) on my machine and I'll see how it will go... -- Forwarded message -- From: Israel Malachi Date: Thu,

Fwd: [VFS] VFS sandbox?

2014-12-04 Thread Israel Malachi
box is not released as a jar for licensing reasons IIRC. You have to check it out of SVN and build it yourself. Gary On Mon, Dec 1, 2014 at 2:53 AM, Israel Malachi wrote: > Hello all! > I'm writing a program that uses the VFS (2.0) so I could manage SFTP and > samba connections. &

Fwd: [VFS] VFS sandbox?

2014-12-04 Thread Israel Malachi
box is not released as a jar for licensing reasons IIRC. You have to check it out of SVN and build it yourself. Gary On Mon, Dec 1, 2014 at 2:53 AM, Israel Malachi wrote: > Hello all! > I'm writing a program that uses the VFS (2.0) so I could manage SFTP and > samba connections. &

Re: [VFS] VFS sandbox?

2014-12-03 Thread Israel Malachi
Gary, Thank you very much! On Mon, Dec 1, 2014 at 2:52 PM, Gary Gregory wrote: > Israel, > > > The sandbox is not released as a jar for licensing reasons IIRC. You have > to check it out of SVN and build it yourself. > > Gary > > On Mon, Dec 1, 2014 at 2:53

[VFS] VFS sandbox?

2014-11-30 Thread Israel Malachi
Hello all! I'm writing a program that uses the VFS (2.0) so I could manage SFTP and samba connections. When I try to reach smb server I get FileSystemException - Badly formed uri I understand that I have to import the sandbox jar, but do I get it from?

(VFS) underlying usage of Jsch Sessions/Channels

2014-11-11 Thread Israel Malachi
Hello all Please consider the following code: FileSystemManager fsManager = VFS.getManager(); FileObject sftpDir = fsManager.resolveFile("sftp://username:password@host/pub/downloads/";); FileObject child1 = sftpDir.getChild("child1.data"); FileObject child2 = sftpDir.getChild("c