For information about Globalscape, visit www.globalscape.com. |
Use the Port property to set or retrieve the value for the Port on the server when you connect.
Syntax
int Object.Port
Example
Set MySite = CreateObject("CuteFTPPro.TEConnection")
MySite.Protocol = "FTP"
MySite.Host = "ftp.cuteftp.com"
MySite.Port = 21
MySite.Login = "username"
MySite.Password = "password"
MySite.Connect