sftpDeleteFile: sftpDeleteFile

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Deletes a file from a remote ftp server.

Usage

1
sftpDeleteFile(host, username, password, remotepath)

Arguments

host

The name of the remote sftp host.

username

The user name with which to log in to the remote sftp host.

password

The password with which to log in to the remote sftp host.

remotepath

The path to the file, including the file name itself.

Details

Deletes a file from a remote ftp server.

Value

logical: returns TRUE if successful, FALSE otherwise

Author(s)

Bruce Hoff <bruce.hoff@sagebase.org>

References

http://www.chiark.greenend.org.uk/~sgtatham/putty/

See Also

sftpUpload sftpDownload sftpDirectoryExists sftpMakeDirectory sftpRemoveDirectory

Examples

1
2
3
4
## Not run: 
sftpDeleteFile("sftp.server.org", "username", "password", "/path/on/server/file.txt")

## End(Not run)

Sage-Bionetworks/Rsftp documentation built on May 9, 2019, 12:11 p.m.