Skip to content

Commit

Permalink
add detection for globalscape EFT
Browse files Browse the repository at this point in the history
  • Loading branch information
robinrodricks committed Feb 27, 2019
1 parent 40fab76 commit ee02df8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
6 changes: 6 additions & 0 deletions FluentFTP/Client/FtpClient_Connection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1608,6 +1608,12 @@ private void DetectFtpServer() {
m_serverType = FtpServer.WuFTPd;
}

// Detect GlobalScape EFT server
// Welcome message: "EFT Server Enterprise 7.4.5.6"
if (welcome.Contains("EFT Server")) {
m_serverType = FtpServer.GlobalScapeEFT;
}

// trace it
if (m_serverType != FtpServer.Unknown) {
this.LogLine(FtpTraceLevel.Info, "Status: Detected FTP server: " + m_serverType.ToString());
Expand Down
6 changes: 5 additions & 1 deletion FluentFTP/Helpers/FtpEnums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,11 @@ public enum FtpServer {
/// <summary>
/// Definitely WuFTPd server
/// </summary>
WuFTPd
WuFTPd,
/// <summary>
/// Definitely GlobalScape EFT server
/// </summary>
GlobalScapeEFT
}

/// <summary>
Expand Down

0 comments on commit ee02df8

Please sign in to comment.