FTP Port Numbers

Discussion in 'Code Samples & Tips' started by rbw152, May 22, 2015.

  1. rbw152

    rbw152 Member Licensed User


    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:


    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!
  2. Erel

    Erel Administrator Staff Member Licensed User

    Why don't you use B4J for this? It is much more powerful (and it is free).