FTP Port Numbers

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

  1. rbw152

    rbw152 Member Licensed 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!
     
  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).
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice