login about faq

Hi,

Could you please provide an simple example to connect a client to an FTP server over TLS (found in your example section) but with a control of server's certificate (not found in your example section) ? It will be very helpful.

Regards

asked Apr 03 '15 at 10:43

deletme's gravatar image

deletme
1


I don't exactly know what is meant by "with a control of server's certificate". Do you wish to access the server's certificate after connecting? If so, the example would include a call to ftp.GetSslServerCert() after the connection has succeeded. The GetSslServerCert method returns the Cert object (or CkCert, CkoCert, etc. depending on programming language).

link

answered Apr 06 '15 at 21:48

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Hi,

Thanks for your answer. Actually I want to check if the server's certificate is good (not expired, provide by the correct source...). I'll try with this method (in VB6) and I'll post here the solution (if works) to complete your documentation (if you're OK).

Regards

link

answered Apr 07 '15 at 03:04

deletme's gravatar image

deletme
1

Thanks! That sounds great.

link

answered Apr 07 '15 at 09:17

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×24
×6

Asked: Apr 03 '15 at 10:43

Seen: 826 times

Last updated: Apr 07 '15 at 09:17

powered by OSQA