Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TIES323
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
joalhelk
TIES323
Commits
f013aaa7
Commit
f013aaa7
authored
3 years ago
by
joalhelk
Browse files
Options
Downloads
Plain Diff
ftp LIST command
parents
a40210ad
1f3e3629
Branches
main
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
FTPClient/FTPClient/Client.cs
+3
-0
3 additions, 0 deletions
FTPClient/FTPClient/Client.cs
FTPClient/FTPClient/FtpClient.cs
+3
-0
3 additions, 0 deletions
FTPClient/FTPClient/FtpClient.cs
with
6 additions
and
0 deletions
FTPClient/FTPClient/Client.cs
+
3
−
0
View file @
f013aaa7
...
@@ -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
();
=======
>>>>>>>
1f3e362981
b7d78bee0fcad2d22cf6eb5d38da0a
client
.
Quit
();
client
.
Quit
();
Console
.
ReadKey
();
Console
.
ReadKey
();
}
}
...
...
This diff is collapsed.
Click to expand it.
FTPClient/FTPClient/FtpClient.cs
+
3
−
0
View file @
f013aaa7
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment