Add DialWithExplicitTLS

This commit is contained in:
Julien Laffaye
2020-04-23 00:49:43 +02:00
parent d4caf6ffca
commit ac1574d383
2 changed files with 37 additions and 7 deletions

View File

@@ -25,6 +25,7 @@ const (
StatusLoggedIn = 230
StatusLoggedOut = 231
StatusLogoutAck = 232
StatusAuthOK = 234
StatusRequestedFileActionOK = 250
StatusPathCreated = 257
@@ -73,6 +74,7 @@ var statusText = map[int]string{
StatusLoggedIn: "User logged in, proceed.",
StatusLoggedOut: "User logged out; service terminated.",
StatusLogoutAck: "Logout command noted, will complete when transfer done.",
StatusAuthOK: "AUTH command OK",
StatusRequestedFileActionOK: "Requested file action okay, completed.",
StatusPathCreated: "Path created.",