Ephox Home Page Ephox Home Page  
Search
Buy/Upgrade
 
 Developers
Developers Home
EditLive! for Java
EditLive! for Windows
System Requirements
Getting Started
Integration Samples
Articles
API Reference
EditLive! for XML
Discussion Forums

FTPPassword Property

Indicates the password used when connecting to the FTP server.

Applies To

EditLive Object

Syntax

JavaScript object.setFTPPassword( sFTPPassword );
 
[ sFTPPassword = ] object.getFTPPassword();
 

Possible Values

sFTPPassword Required.  String that specifies the FTP server password. 

This property is read/write.

Examples

JavaScript

The following example would set the FTP server password to 'yourpassword'. 

function EditLive1_onload() {
    editLive1.setEditLiveMode( 'FTPStandard' );
    editLive1.setFTPServer( 'ftp.yourserver.com' );
    editLive1.setFTPUsername( 'yourname' );
    editLive1.setFTPPassword( 'yourpassword' );
    editLive1.setWebRoot( 'http://www.yourhost.com//' );
    editLive1.loadFile( 'yourfile.htm' );
}

The following example would show a message box with the current value of FTPPassword.

function button1_onclick(){
    var sFTPPassword = editLive1.getFTPPassword();
    alert( sFTPPassword );
}

Remarks

         If this property is not set, the user will be prompted for it.

Minimum Version

EditLive! 1.0 or greater.

See Also

 

 

Copyright © 1999-2005 Ephox Corporation. All Rights Reserved. 'Ephox' is a registered trademark of Ephox Corporation.
Java and the Java Powered logo are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries.