ssCore.FTP.port

Select the port to be used for communications with the FTP server.


Availability:

First available in version 3.0 build 2039.


Input Parameters:

port - [Optional] - Any valid port number (1..65535) that is recognized by the host server. Default value is 21.


Output Parameters:

No output parameters.


Asynchronous Mode:

When this method is called asynchronously, a return object containing the output parameters is passed to the specified callback function.

ssCore.FTP.port( paramsObject [, callbackParamsObject] [, errorParamsObject] );


Synchronous Mode:

When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.

var returnObject = ssCore.FTP.port( paramsObject );


Notes:

If you don't specify a port number, or an invalid nuber, the plugin will use the default FTP port (21).

                

Examples:

ssCore.FTP.port({port:21});