Transferring Files

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.

aftp_query_bytes_transferred
Outputs the number of bytes transferred by either the aftp_send_file or aftp_receive_file call.
aftp_receive_file
Receives a single file from the AFTP server.
aftp_send_file
Sends a single file to the AFTP server.