Moves a file.
WP_Filesystem_SSH2::delete
Deletes a file or directory.
WP_Filesystem_SSH2::exists
Checks if a file or directory exists.
WP_Filesystem_SSH2::is_file
Checks if resource is a file.
Advertisement
WP_Filesystem_SSH2::is_dir
Checks if resource is a directory.
WP_Filesystem_SSH2::is_readable
Checks if a file is readable.
WP_Filesystem_SSH2::put_contents
Writes a string to a file.
WP_Filesystem_SSH2::cwd
Gets the current working directory.
Advertisement
WP_Filesystem_SSH2::chdir
Changes current directory.
WP_Filesystem_SSH2::__construct
Constructor.
WP_Filesystem_SSH2::connect
Connects filesystem.
WP_Filesystem_SSH2::sftp_path
Gets the ssh2.sftp PHP stream wrapper path to open for the given file.
Advertisement
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.