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.
WP_Filesystem_SSH2::is_dir
Checks if resource is a directory.
Advertisement
WP_Filesystem_SSH2::is_readable
Checks if a file is readable.
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::mtime
Gets the file modification time.
Advertisement
WP_Filesystem_SSH2::size
Gets the file size (in bytes).
WP_Filesystem_SSH2::touch
Sets the access and modification times of a file.
WP_Filesystem_SSH2::chown
Changes the owner of a file or directory.
WP_Filesystem_SSH2::owner
Gets the file owner.
Advertisement
WP_Filesystem_SSH2::getchmod
Gets the permissions of the specified file or filepath in their octal format.
WP_Filesystem_SSH2::__construct
Constructor.
WP_Filesystem_SSH2::connect
Connects filesystem.