private void DataSocket_OnReceive(object currentObj, byte[] data) { var ut = currentObj as IUserToken; var ftpUser = FTPServerConfigManager.GetUser(_userName); ftpUser.FTPDataManager.Receive(data); }
public void Checke() { var ftpUser = FTPServerConfigManager.GetUser(_userName); while (IsConnected) { _autoResetEvent.WaitOne(1); if (!IsConnected) { break; } } ftpUser.FTPDataManager.FileComplete(); }