spacer

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

home / experts / javascript / column49


Using JavaScript in HomeSite 4.0, Part II

Developer News
Eclipse Helios Update Brings New PHP Tools
Internet Explorer 9 Ups Standards Support
JBoss Portal 5 Release Easier to Use

Manipulating Projects, Part II

RemoveFileFromProject(fileName)Boolean

Removes a file (fileName) from the active project. Returns a true value if successful, a false value otherwise. The list of files in the Project Window, though, will not be refreshed automatically.

ShowLastProjectError()None

Shows the last project-related error. The exact same message box is displayed again as in the original occurrence. For example, the following request to add a non-existence file to a project:

app.AddFileToProject("U:\\kuku")

yields the following message box:

A subsequent call to ShowLastProjectError() yields the same message box as above.

UploadProjectDlg()None

Displays the Upload Project dialog. Here is an example of this dialog box:

UploadProject(ftpServer, forceLowerCaseFlag, uploadOnlyNewerFlag, ColdFusionEncryptFlag)Boolean

Uploads the active project to the specified server (ftpServer), according to the given flags. The ftp server should be one of the servers currently defined in the Server Window. The Upload Project dialog window above shows the two servers defined in our example. You specify the ftpServer exactly as it is specified in the Upload Project dialog window. In our example, the ftpServer can either be "ftp://Webreference" or "ftp://Doc JavaScript".

http://www.internet.com

Produced by Yehuda Shiran and Tomer Shiran

webref The latest from WebReference.com Browse >
Flashmaps' DynamicLocator: Interactive Maps for Small Areas · Flashmaps' AreaSelector: Interactive Maps for Wide Areas · The DB Mapper: Interactive Street-level Maps of U.S. and Canada
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
MS Access and MySQL · Cisco AutoQoS: VoIP QoS for Mere Mortals · While VoIP Adoption Explodes in Enterprise, Carrier Spending Lags


Created: September 27, 1999
Revised: September 27, 1999

URL: http://www.webreference.com/js/column49/projects2.html