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 <[email protected]> Date: Thu, Dec 4, 2014 at 9:41 AM Subject: Fwd: [VFS] VFS sandbox? To: Commons Developers List <[email protected]> Hi all I was trying to follow Gary's advice (and thank you again, Gary) but I ran into two issues when trying to build the classes On SmbFileObject line 46: extends AbstractFileObject<SmbFileSystem> AbstractFileObject is not generic, and can't be parameterized, should I erase <SmbFileSystem> ? line 227: if (e.getErrorCode() == SmbException.ERRbadfile) getErrorCode() and ERRbadfile are not defined in SmbException, what to do? ---------- Forwarded message ---------- From: Gary Gregory <[email protected]> Date: Mon, Dec 1, 2014 at 2:52 PM Subject: Re: [VFS] VFS sandbox? To: Commons Developers List <[email protected]> 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 AM, Israel Malachi <[email protected]> wrote: > 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? > -- E-Mail: [email protected] | [email protected] Java Persistence with Hibernate, Second Edition <http://www.manning.com/bauer3/> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> Spring Batch in Action <http://www.manning.com/templier/> Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory
