Deletes file from SFTP server.
Namespace: Jscape.SftpAssembly: Jscape.Ssh (in Jscape.Ssh.dll) Version: 2.7.2.0
Syntax
C# |
---|
public void DeleteFile( string pathname ) |
Visual Basic |
---|
Public Sub DeleteFile ( _ pathname As String _ ) |
Visual C++ |
---|
public: void DeleteFile( String^ pathname ) |
Parameters
- pathname
- Type: System..::..String
the pathname to delete
Exceptions
Exception | Condition |
---|---|
Jscape.Sftp..::..SftpException | if protocol error occurs |