Skip to content

Commit

Permalink
feat: Added FTPS Support (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
FRFlo authored Mar 11, 2024
1 parent 5c17aa1 commit 2f529b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Copy/Clients/FTP.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public FTP(Client credentials)
{
_credentials = credentials;
FtpClient = new FtpClient(credentials.Host, new NetworkCredential(credentials.Username, credentials.Password), credentials.Port);
FtpClient.Config.EncryptionMode = FtpEncryptionMode.Auto;
FtpClient.AutoConnect();
}

Expand Down

0 comments on commit 2f529b6

Please sign in to comment.