Ejemplo n.º 1
0
 // 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);
     }
 }