Performing Directory Manipulation

Server Directories:

AFTP provides methods of traversing and modifying the directory structure on the AFTP server computer. It is possible to build recursive copy routines for entire directory trees using these calls. AFTP also maintains the current directory on the AFTP server. This enables the user to specify a file name without specifying the entire directory path to that file on the AFTP server.

Use these API calls to manage directories on the server.

aftp_change_dir
Changes the current working directory on the AFTP server.
aftp_create_dir
Makes a new directory on the AFTP server.
aftp_query_current_dir
Outputs the current working directory on the AFTP server.
aftp_remove_dir
Removes an existing directory on the AFTP server.

Client Directories:

AFTP provides methods to query and traverse the directory structure on the AFTP client computer. AFTP maintains the current directory on the AFTP client. This enables the user to specify a file name without specifying the entire directory path to that file on the AFTP client.

Use these API calls to manage directories on the client.

aftp_local_change_dir
Changes the current working directory on the AFTP client.
aftp_local_query_current_dir
Outputs the current working directory on the AFTP client.