sftp
Object for working with SFTP
Contains
methods for managing SFTP connections, and allows you to create, delete, and rename files and folders
. (available with version 7.0.35)br>
connection Functions
manage folders
Working with files
connection Functions
connect
– connect with SFTP.
disconnect
– osoitinta from SFTP
disconnect_all
– all SFTP connections will be disconnected
Working with folders
create_directory
– create a folder on SFTP
remove_directory
– delete folder on SFTP
Working with files
get_file
– get a file with SFTP
put_file
– put the file on SFTP
remove_file
– delete file from SFTP