RefreshResponse() public method

Refresh response from control channel.
public RefreshResponse ( ) : void
return void
Exemplo n.º 1
0
 /// <summary>
 /// Closes the FTP stream and releases any resources associated with the stream.
 /// </summary>
 public override void Close()
 {
     if (!IsClosed)
     {
         CloseConnection();
         m_ctrl.RefreshResponse();
         m_ctrl.Session.EndDataTransfer();
     }
 }
Exemplo n.º 2
0
        internal void Close(bool error)
        {
            if (!IsClosed)
            {
                CloseConnection();

                if (!error)
                {
                    m_ctrl.RefreshResponse();
                }

                m_ctrl.Session.EndDataTransfer();
            }
        }