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

Reply via email to