Programming with FTP OLE Automation

image\rwnprg32.gif SSHLocalPort property

 

Syntax

Object.SSHLocalPort
Object.SSHLocalPort =
Value

Data type

Long

 

Description

Returns (first syntax line) or specifies (second syntax line) which port to use for tunneling FTP communications through an established SSH tunnel.

This property is only relevant when UseSSH is True and UseSFTP is False.

Values

The default value is 2001.