Gets the file size (in bytes).
WP_Filesystem_SSH2::touch
Sets the access and modification times of a file.
WP_Filesystem_SSH2::mkdir
Creates a directory.
WP_Filesystem_SSH2::rmdir
Deletes a directory.
Advertisement
WP_Filesystem_SSH2::dirlist
Gets details for files in a directory or a specific file.
WP_Filesystem_SSH2::group
Gets the file’s group.
WP_Filesystem_SSH2::copy
Copies a file.
WP_Filesystem_SSH2::move
Moves a file.
Advertisement
WP_Filesystem_SSH2::delete
Deletes a file or directory.
WP_Filesystem_SSH2::exists
Checks if a file or directory exists.
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.