I want to ask how can I remotely delete a file using sftp I have tried using SharpSSH but it doesn't work, I got SftpException
i added this code first in the sftp.cs first
public void Delete(string path) { SftpChannel.rm(path); }
then i typed this in the program
Sftp ftp = new Sftp("ip address", "username", "password"); ftp.Connect(); ftp.Delete("path");
Thanks, The problem was solved the problem was I forgot to put a "/" in front of the path, so it fails