The port has a default value of 21, which is the standard port used by
the FTP protocol. You shouldn't use a different value, unless you really
know what you do.
This function tries to connect to the server so it may take a while to
complete, especially if the server is not reachable. To avoid blocking
your application for too long, you can use a timeout. The default value,
Time.Zero, means that the system timeout will be used (which is
usually pretty long).
Responseconnect(IpAddress address, ushort port, Time timeout)
Connect to the specified FTP server.
The port has a default value of 21, which is the standard port used by the FTP protocol. You shouldn't use a different value, unless you really know what you do.
This function tries to connect to the server so it may take a while to complete, especially if the server is not reachable. To avoid blocking your application for too long, you can use a timeout. The default value, Time.Zero, means that the system timeout will be used (which is usually pretty long).