The primary purpose of the file transfer protocol is to exchange files between the AFTP client and AFTP server programs. Through the API, the AFTP client program can send a file to the AFTP server and receive a file from the AFTP server.
Use these API calls to transfer files between the client and server.