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
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs

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, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Building a Banking Application Home Page with OOP · Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enterprise 2.0: Social Networking in the Cloud · BroadSoft Marketplace Hastens Pace of Telephony Innovation · Review: HTC Hero for Sprint


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

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