FileCompressedName Property
The file name of the current file, as stored inside of the archive.
Object Oriented Interface
public function getFileCompressedName($fileindex); public function setFileCompressedName($fileindex, $value);
Procedural Interface
ipworkszip_tar_get($res, 6 , $fileindex); ipworkszip_tar_set($res, 6, $value , $fileindex);
Default Value
''
Remarks
The file name of the current file, as stored inside of the archive. This may be the same as in FileDecompressedName, but is not required to be.
All paths are stored in the archive in standard (UNIX) format. Pathnames specified in the host operating system's format will be immediately converted.
This property should generally be set with a relative path or with no path at all. The exact interpretation of the path is left to the decompression software; generally, pathnames will be interpreted as relative to a base directory, and these subdirectories will be created as needed. Absolute pathnames will not be interpreted correctly by the class, and may or may not be interpreted correctly by other decompression software.
Paths should be specified in standard (UNIX) format. They may also be specified in the format native to the host operating system, in which case they will be immediately converted.
Example
ZipControl.ArchiveFile =
"c:\test.zip"
ZipControl.Files.Add(
new
ZIPFile())
ZipControl.Files[0].DecompressedName =
"c:\test\ipworkszip\temp\test.txt"
ZipControl.Files[0].CompressedName =
"readme.txt"
ZipControl.Compress()
The size of the array is controlled by the FileCount property.
This property is not available at design time.
Data Type
String