Properties
CompressedSize
Long value of the compressed size in bytes of the file
Access: Read
Default: None
Notes: This property represents the size in bytes of the file after it
was compressed.
Example: The following example shows how to display the compressed
size of a file contained in an archive:
' Code showing initialization of the Archive object omitted
Set ArchiveEntry = Archive.Entries(1)
Response.Write "Compressed size = " & ArchiveEntry.CompressedSize & "<BR>"
See Also: ArchiveEntry.UnCompressedSize property,
Archive object
IsDirectory
Boolean indicating if the entry is a directory instead of a file.
Access: Read
Default: None
Notes: This property can be used when iterating through an archive to
skip displaying directory entries.
Example: The following example shows how to display only the files in
an archive.
' Code showing initialization of the Archive object omitted
For Each Entry in Archive.Entries
If Not Entry.IsDirectory Then
Response.Write "FileName = " & Entry.Path & "<BR>"
End If
Next
See Also: Archive object
Path
String value of the name (including any relative path) of the file
This property is the default property of the Archive object.
Access: Read
Default: None
Notes: Because this is the default property the following are
equivalent:
Path = ArchiveEntry.Path
Path = ArchiveEntry
Example: The following example shows how to display the path of a file
contained in an archive:
' Code showing initialization of the Archive object omitted
Set ArchiveEntry = Archive.Entries(1)
Response.Write "Path = " & ArchiveEntry.Path & "<BR>"
See Also: Archive object
UnCompressedSize
Long value of the uncompressed size in bytes of the file
Access: Read
Default: None
Notes: This property represents the size in bytes of the file before
it was compressed.
Example: The following example shows how to display the size of a file
contained in an archive:
' Code showing initialization of the Archive object omitted
Set ArchiveEntry = Archive.Entries(1)
Response.Write "Uncompressed size = " & ArchiveEntry.UnCompressedSize & "<BR>"
See Also: ArchiveEntry.CompressedSize property, Archive object
|