#A small script to check interfaces on C#
To avoid certificate check:
system.net>
<settings>
<servicePointManager
< checkCertificateName="false"
checkCertificateRevocationList="false"
/>settings>
</system.net> </
In the application config file.
Some useful links: - Check if a file exists
Problems related to FTP with SSL:
[Configure FTP over SSL] (http://stackoverflow.com/questions/1355341/ftp-over-ssl-for-c-sharp)
[Ignore web certificates] (http://weblog.west-wind.com/posts/2011/Feb/11/HttpWebRequest-and-Ignoring-SSL-Certificate-Errors)
[Enabling SSL on c#] (https://msdn.microsoft.com/en-us/library/system.net.ftpwebrequest.enablessl.aspx)
[Microsoft forums, How to accept SSL certificate of FTPS server] (https://social.msdn.microsoft.com/Forums/en-US/56a10641-4504-4f8b-8434-86156f8104be/how-to-accept-ssl-certificate-of-ftps-server?forum=netfxnetcom)