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

FTPUsername Property

Indicates the username used to login to the FTP server.

Applies To

EditLive Object

Syntax

JavaScript object.setFTPUsername( sFTPUsername );
 
[ sFTPUsername = ] object.getFTPUsername();
 

Possible Values

sFTPUsername Required.  String that specifies the FTP server username. 

This property is read/write.

Examples

JavaScript

The following example would set the FTP server username to 'yourname'. 

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 FTPUsername.

function button1_onclick(){
    var sFTPUsername = editLive1.getFTPUsername();
    alert( sFTPUsername );
}

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.