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
OpenOffice 3.2 Lands Amid Critical Changes
Red Hat, IBM Firmly in KVM Virtualization Camp
Red Hat Talks Up Open Source Cloud Plans

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


The Network for Technology Professionals

Search:

About Internet.com

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

webref The latest from WebReference.com Browse >
Installing and Using Meeplace, the Business Review CMS · Sending an HTML and Plain Text E-newsletter with ASP.NET, Part 2 · Create Multilingual Web Sites with Windows Unicode Fonts
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
MySql View Technique for Grouping Crosstab Column Data · Why You Need a Mobile Web Site · Tame Web Marketing with Social Media Management


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

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