/// <summary>
/// <para>Closes the underlying FTP response stream, but does not close control connection</para>
/// </summary>
public override void Close()
{
if (Logging.On)
{
Logging.Enter(Logging.Web, this, "Close", "");
}
if (HttpProxyMode)
{
m_HttpWebResponse.Close();
}
else
{
Stream stream = m_ResponseStream;
if (stream != null)
{
stream.Close();
}
}
if (Logging.On)
{
Logging.Exit(Logging.Web, this, "Close", "");
}
}