Checks if a file or directory exists.
WP_Filesystem_SSH2::is_file
Checks if resource is a file.
WP_Filesystem_SSH2::is_dir
Checks if resource is a directory.
WP_Filesystem_SSH2::is_readable
Checks if a file is readable.
Advertisement
WP_Filesystem_SSH2::is_writable
Checks if a file or directory is writable.
WP_Filesystem_SSH2::atime
Gets the file’s last access time.
WP_Filesystem_SSH2::chdir
Changes current directory.
WP_Filesystem_SSH2::__construct
Constructor.
Advertisement
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.
WP_Filesystem_SSH2::run_command
WP_Filesystem_SSH2::get_contents
Reads entire file into a string.
Advertisement
WP_Filesystem_SSH2::get_contents_array
Reads entire file into an array.
WP_Filesystem_SSH2::put_contents
Writes a string to a file.
WP_Filesystem_SSH2::cwd
Gets the current working directory.