I have been using the ZipManagerCS demo as a reference for my project, but cannot get the following to work:
After you create a new archive, and add files, in the following function, I need to get the full path to the file on disk, including drive/folder/filename in the following existing function. But none of the methods in AbstractFile return this value. I expected FullName to return this, but it does not, it returns “\filename”. Can someone please help?
the behavior you have is what it suppose to be. Since your are working with a ZipArchive object, the GetFiles method will return ZippedFile objects. The FullName property will return the fullname inside the zip archive. (the root archive itself is “\” so that’s why you get “\Filename”)
We added, with the april 10th 2006 update, a new property called: HostedFullName. This property will return, on every classes derived from FileSystemItem, the FullName of the item even if it is inside of an archive or ftp.