spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / javascript / column50


Using JavaScript in HomeSite 4.0, Part III

Developer News
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?

The ZIPProvider Object's Methods, Part III

Delete(files)Integer

Deletes files from an archive. You can specify a single file, a set of files delimited by line breaks or an entire directory using wildcards. If left an empty string all files will be deleted. The function returns a status code which can be investigated to determine whether the operation succeeded. Click here to see the table of status codes.

FileName(index)String

Returns the name of a file in an archive by index. The index value can be from 0 to FileCount-1. This method does not seem to be working -- it returns an empty string.

FileSize(index)Double

Returns the size of an existing archive file element (file/directory/volume) by index. The index value can be from 0 to FileCount-1. This method does not seem to be working -- it always returns 0.

FileDate(index)String

Returns the date of an existing archive file element (file/directory/volume) by index. The index value can be from 0 to FileCount-1.

FileIsDirectory(index)Boolean

Returns a true value when a specific element (file/directory/volume) in an archive is a directory. The index value can be from 0 to FileCount-1.

FileIsReadOnly(index)Boolean

Returns a true value when a specific element (file/directory/volume) in an archive is read-only. The index value can be from 0 to FileCount-1.

FileIsHidden(index)Boolean

Returns a true value when a specific element (file/directory/volume) in an archive is a hidden element. The index value can be from 0 to FileCount-1.

FileIsSystem(index)Boolean

Returns a true value when a specific element (file/directory/volume) in an archive is a system element. The index value can be from 0 to FileCount-1.

FileIsVolume(index)Boolean

Returns a true value when a specific element (file/directory/volume) in an archive is a volume. The index value can be from 0 to FileCount-1.

http://www.internet.com

Produced by Yehuda Shiran and Tomer Shiran

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Rolling Out Your Own HTML Application Version Control · HTML 5: Client-side Storage · Working with Ajax Server Extensions
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Wi-Fi Product Watch, November 2009 · Chip Market Recovering From '08 Collapse · Low-Cost Tools to Kickstart Your New Business


Created: October 11, 1999
Revised: October 15, 1999

URL: http://www.webreference.com/js/column50/zipmeth3.html