The permission to delete the file completely depends on the access rights configuration on the remote server system. By executing the dir command displays the list of directories and files in the specified directory.
You cannot restore the deleted file.