OPEN (Connect to FTP Server on a Remote System)

The OPEN IBM® i FTP client subcommand connects your FTP client to an FTP server.

FTP client subcommand

Open systemname [portnumber]

systemname
The name or Internet address of the remote system.
portnumber
The port number to use for this session until the FTP server closes the connection. This is optional. If you do not specify a port number, the FTP server chooses one.

After you have opened a connection to a remote system, you cannot connect to another system until you close the current session.