// unlocks the server private void UnlockServer() { try { // if server is locked, delete lockfile on the server if (serverLock) { fileTransfer.DeleteFile(lockFile, remotePath); } } catch (Exception e) { ErrorLog.Add(this, e.Message); FireWarning(Strings.UnableToUnlock); } }