ftp
Object for working with FTP
Contains methods for managing FTP connections, allows you to create, delete, rename files and folders, and execute all other commands for working with FTP connections.
connection functions
working with folders
Working with files
General commands
connection functions
connect – connects to FTP
disconnect – disconnect from FTP
disconnect_all – all FTP connections will be disconnected
Working with folders
create_directory – create a folder on FTP
remove_directory – delete a folder on FTP
Working with files
get_file – get the FTP file
put_file – put the file on FTP
remove_file – delete the FTP file
General commands
rename – rename
command – execute FTP command