You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by nicolas de loof <ni...@gmail.com> on 2007/09/20 15:26:04 UTC

[vfs] cannot write into a .tgz ?

Hello,

I'm trying to edit content of a TGZ file using commons-vfs :

            FileSystemManager fsManager = VFS.getManager();
            String vfsPath = "tgz://" + myFile.getAbsolutePath();
            FileObject tar = fsManager.resolveFile( vfsPath );
            if ( !tar.isWriteable() )
            {
                // ERROR
            }

My FileObject is not writable. Is this a commons-vfs limitation or did
I miss something about this API ?

Nico.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org