Skip to content
Snippets Groups Projects
Commit f013aaa7 authored by joalhelk's avatar joalhelk
Browse files

ftp LIST command

parents a40210ad 1f3e3629
Branches main
No related tags found
No related merge requests found
...@@ -15,7 +15,10 @@ namespace FTPClient ...@@ -15,7 +15,10 @@ namespace FTPClient
client.Initialize(); client.Initialize();
client.LogIn(); client.LogIn();
client.Epsv(); client.Epsv();
<<<<<<< HEAD
client.List(); client.List();
=======
>>>>>>> 1f3e362981b7d78bee0fcad2d22cf6eb5d38da0a
client.Quit(); client.Quit();
Console.ReadKey(); Console.ReadKey();
} }
......
...@@ -81,6 +81,9 @@ namespace FTPClient ...@@ -81,6 +81,9 @@ namespace FTPClient
ftpNs = new NetworkStream(ftpSocket); ftpNs = new NetworkStream(ftpSocket);
ftpSr = new StreamReader(ftpNs); ftpSr = new StreamReader(ftpNs);
ftpSw = new StreamWriter(ftpNs); ftpSw = new StreamWriter(ftpNs);
string response = ftpSr.ReadLine();
handleResponse(response);
} }
private void handleEpsvResponse(string response) private void handleEpsvResponse(string response)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment