commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ivankovits <ma...@ops.co.at>
Subject Re: [VFS] Asking for a solution with Zip files
Date Mon, 14 Feb 2005 21:21:41 GMT
St├ęphane Rault wrote:
>I've understood that i can't resolveFile like
>zip:file://c:/temp/toto.zip!/myFile.txt if toto.zip doesn't exist.
>  
Bad news: The ZipFileProvider does not support creating/updating 
zip-files. :-(
>The same question is available if the URL is
>ftp://myserver.fr/myNotCreatedDirectory/theFileIWantToPut.ext.
>  
FileObject fo = 
VFS.getManager().resolveFile("ftp://myserver.fr/myNotCreatedDirectory/theFileIWantToPut.ext");
fo.getParent().createFolder();
fo.createFile();


Hope this helps, though I didnt think so.

---
Mario


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


Mime
View raw message