Menu

#8 XDir Problem

open
nobody
None
5
2005-09-09
2005-09-09
Anonymous
No

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.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.