If you specify a port of *SECURE and the FTP server does not support implicit TLS or SSL on the specified port, or the TLS or SSL negotiation fails for any reason, the connection is closed.
To change the file transfer type...
- To switch to EBCDIC, enter EBCDIC and press Enter before you transfer the file.
- To switch to BINARY, enter BINARY and press Enter before you transfer the file.
- To switch back to the default type, ASCII, enter ASCII and press Enter before you transfer the file.
Now you are ready to transfer files:
- Enter CD and the name of the directory.
Press Enter.
- Do one of the following steps:
- To transfer a file from the server system to the client system, enter GET followed by the name of the file:
GET myfile.txt
- To send a file that is on the client system to the server system, enter PUT followed by the name of the file:
PUT myfile.txt
Enter the FTP subcommand QUIT to end the FTP client session and return to the command line.
Parent topic:
Using the File Transfer Protocol client on the System i platform
Related concepts
Data transfer methods