// deletes a remote directory private void DeleteRemoteDirectory() { try { fileTransfer.DeleteDirectory(ulVersion, remotePath); } catch (Exception e) { ErrorLog.Add(this, e.Message); FireWarning(Strings.UnableToCleanUpRemoteDirectory); } }