Uploaded File would not be deleted

my script is very simple public void transferfiles(String modus) { try { // Setup session options SessionOptions sessionOptions = new SessionOptions { Protocol = Protocol.Sftp, HostName = conHostName, UserName = conUserName, Password = conPasswort, SshHostKeyFingerprint = conSshHostKeyFingerprint }; using (Session session = new Session()) { session.Open(sessionOptions); TransferOptions transferOptions = new TransferOptions(); transferOptions.TransferMode = TransferMode.Binary; TransferOperationResult…

Details