File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 = @"..\..\.." ;
You can’t perform that action at this time.
0 commit comments