Checks if a file or directory exists.
WP_Filesystem_SSH2::run_command
WP_Filesystem_SSH2::is_file
Checks if resource is a file.
WP_Filesystem_SSH2::get_contents
Reads entire file into a string.
Advertisement
WP_Filesystem_SSH2::is_dir
Checks if resource is a directory.
WP_Filesystem_SSH2::get_contents_array
Reads entire file into an array.
WP_Filesystem_SSH2::is_readable
Checks if a file is readable.
WP_Filesystem_SSH2::put_contents
Writes a string to a file.
Advertisement
WP_Filesystem_SSH2::is_writable
Checks if a file or directory is writable.
WP_Filesystem_SSH2::cwd
Gets the current working directory.
WP_Filesystem_SSH2::atime
Gets the file’s last access time.
WP_Filesystem_SSH2::chdir
Changes current directory.
Advertisement
WP_Filesystem_SSH2::mtime
Gets the file modification time.
WP_Filesystem_SSH2::chgrp
Changes the file group.
WP_Filesystem_SSH2::size
Gets the file size (in bytes).