Skip to content

Commit fcc2911

Browse files
author
Harsh Gupta
committed
clear info
1 parent f548f80 commit fcc2911

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

FluentFTP.Tests/Program.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ class Program {
1717

1818

1919
// SET THESE BEFORE RUNNING ANY TESTS!
20-
static readonly string m_host = "spreadbs.ddns.net";
21-
static readonly string m_user = "ftpuser";
22-
static readonly string m_pass = "password";
20+
static readonly string m_host = "";
21+
static readonly string m_user = "";
22+
static readonly string m_pass = "";
2323

2424

2525
static void Main(string[] args) {
@@ -554,6 +554,9 @@ static void TestNameListingFTPS() {
554554
}
555555
}
556556
}
557+
static void OnValidateCertificate(FtpClient control, FtpSslValidationEventArgs e) {
558+
e.Accept = true;
559+
}
557560

558561

559562
static FtpClient Connect() {
@@ -590,9 +593,6 @@ static FtpClient Connect() {
590593
return cl;
591594
}
592595

593-
static void OnValidateCertificate(FtpClient control, FtpSslValidationEventArgs e) {
594-
e.Accept = true;
595-
}
596596

597597
static void Upload(FtpClient cl) {
598598
string root = @"..\..\..";

0 commit comments

Comments
 (0)