Hi, I give you more informations about my problem.
In fact, I want to get a zip file on a share windows thanks to smb. But when I get my FileObject thanks to smb, I cannot get the InputStream of a zip file. How can I access to this InputStream? Thanks for your help, Yannick 2008/6/9 Yannick PIERSON <[EMAIL PROTECTED]>: > Hi, > > I get an another problem with vfs-common library. I'm not able to get an > InputStream for zip files. > > This is my code: > FileObject zipFile = vfsJFileChooser.getSelectedFile(); > InputStream is = zipFile.getContent().getInputStream(); > > This is my error: > Could not read file "smb://user:[EMAIL PROTECTED]:port/MyZipFile.zip". > > But I'm able to check that this file exists with zipFile.exists() method. > > For others type of file I'm able to get the inputStream. > Do you know what's wrong in my code? > > Thanks. > > Regards, > > Yannick >
