FTP Port Numbers

rbw152

Member
Licensed User
Longtime User
Hi

this has probably been answered before so excuse me but how do you specify a Port number for the FTP library object? Here's my code:

Ftp.New1
Ftp.Open(sServerIP,"<user>","<password>"

However, because Windows Server 2012 does not allow multiple FTP sites to use the same port (21) I have to specify a particular port for this particular FTP account. In this case it has to be port 50001.

Can anyone help? Is this possible even? Thanks!
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…