Skip to content

Commit

Permalink
FluentFTP appears to have removed the FtpTrace class
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven-D-Foster committed Jun 3, 2021
1 parent 0262861 commit 6241f56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions HavokMultimedia.Utilities.Console/External/FtpClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ public FtpClientFtp(string host, ushort port, string username, string password)
if (username == null) username = password = "anonymous";
_client = new FtpClient(host, port, new System.Net.NetworkCredential(username, password));
log.Debug("Connecting to FTP server " + host + ":" + port + " with username " + username);
FtpTrace.LogPassword = true;
//FtpTrace.LogPassword = true;
//FtpTrace.LogPrefix = true;
_client.OnLogEvent = LogMessage;
_client.Connect();
Expand All @@ -406,7 +406,7 @@ public FtpClientFtp(string host, ushort port, string username, string password,
_client.SslProtocols = sslProtocols;

log.Debug("Connecting to FTPS server " + host + ":" + port + " with username " + username);
FtpTrace.LogPassword = true;
//FtpTrace.LogPassword = true;
//FtpTrace.LogPrefix = true;
_client.OnLogEvent = LogMessage;
_client.Connect();
Expand Down

0 comments on commit 6241f56

Please sign in to comment.