It uses the PHP FTP extension to establish an FTP connection, authenticate with a given user name, upload files to the server optionally overwriting the destination file and removing the origin file when the transfer is done, deleting specific server files.