Gets the file owner.
WP_Filesystem_SSH2::rmdir
Deletes a directory.
WP_Filesystem_SSH2::getchmod
Gets the permissions of the specified file or filepath in their octal format.
WP_Filesystem_SSH2::dirlist
Gets details for files in a directory or a specific file.
Advertisement
WP_Filesystem_SSH2::group
Gets the file’s group.
WP_Filesystem_SSH2::copy
Copies a file.
WP_Filesystem_SSH2::__construct
Constructor.
WP_Filesystem_SSH2::connect
Connects filesystem.
Advertisement
WP_Filesystem_SSH2::sftp_path
Gets the ssh2.sftp PHP stream wrapper path to open for the given file.
WP_Filesystem_SSH2::run_command
WP_Filesystem_SSH2::get_contents
Reads entire file into a string.
WP_Filesystem_SSH2::get_contents_array
Reads entire file into an array.
Advertisement
WP_Filesystem_SSH2::put_contents
Writes a string to a file.
WP_Filesystem_SSH2::cwd
Gets the current working directory.
WP_Filesystem_SSH2::chdir
Changes current directory.