using (SftpClient sftp = new SftpClient(hostName, portNumber, userName, passWord))
{
sftp.Connect();
sftp.Delete(remotePath);
}
Code throws "Permission Denied" error, but i have permission to delete file. I confirmed this using WinSCP both their UI and .NET library (works fine).
Comments: No response also sounds like not a library issue
{
sftp.Connect();
sftp.Delete(remotePath);
}
Code throws "Permission Denied" error, but i have permission to delete file. I confirmed this using WinSCP both their UI and .NET library (works fine).
Comments: No response also sounds like not a library issue