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::mtime
Gets the file modification time.
WP_Filesystem_SSH2::chgrp
Changes the file group.
Advertisement
WP_Filesystem_SSH2::size
Gets the file size (in bytes).
WP_Filesystem_SSH2::chmod
Changes filesystem permissions.
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.
Advertisement
WP_Filesystem_SSH2::mkdir
Creates a directory.
WP_Filesystem_SSH2::owner
Gets the file owner.
WP_Filesystem_SSH2::rmdir
Deletes a directory.