Answered my own question. I need to use
zip:ftp://example.com/example.zip
instead. I'd like the ability to detect this automatically based on
file extension (or content type if provided by the provider) when
traversing files. But I'm guessing that would be an architectural
departure from the current design. Perhaps an FSO parameter,
VirtualFileSystemConfigBuilder.setTransparentlyAddsJunctionsBasedOnFileE
xtensions()?
Lo
On Mar 6, 2007, at 16:36, K. Lo Shih wrote:
I'm noticing that given an FtpFileObject for "ftp://example.com/
example.zip", you can't FtpFileObject.getChildren() since it's
getType() is "file" and does now allow children, even though you
can FtpFileObject.resolveFile("SomeFileContainedInTheZipFile");
Is there some other way to list the children of the zip file?
Should I rather work with a local copy of the ZIP as opposed to
working the remote file?
Thanks,
Lo
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]