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

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

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: September 27, 1999
Revised: September 27, 1999

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