Programming with FTP OLE Automation

image\rwnprg32.gif Port property

 

Syntax

Object.Port
Object.Port =
Value

Data type

Integer

 

Description

Returns (first syntax line) or specifies (second syntax line) the port number.

This property may be set, however, it is not used by the Open or Connect method. It may be useful when used in conjunction with the SaveSiteProperties method.

Values

The default value is 21.

FTP Script SET Parameter Equivalent

None