XDir Problem
Brought to you by:
boudartjj
I couldn't get this method to work as-is in passive or
active mode, Then I realized the following block of
code....
-------------------------------
networkStream.Close();
client.Close();
if(this.mode == FTPMode.Active)
{
listner.Stop();
}
--------------------------------
should be moved up, so it can close the connection and
receive the transfer ok response... re-arranged code....
----------------------------------
tmpFilesAndFolderList = ReadLines(networkStream);
networkStream.Close();
client.Close();
if(this.mode == FTPMode.Active)
{
listner.Stop();
}
if(tempMessageList.Count == 1)
------------------------------------
hope im correct.