Page 1 of 1

Configuring FTPS

Posted: January 25th, 2017, 5:57 am
by kakinyim
Anyone to help?

I have setup my FTP server to use self-signed certificate.

I guess everything works fine but when i try to synchronize and select "Explicit (FTPEs)", i get the error attached. When I use "Implicit (FTPS)" an error saying "Error logging in to server 127.0.0.1. SSL handshake timed out." I just discovered that general FTP does not support checksum validation. Anyone who has come across this? Or what is the best option to validate files transferred over FTP.?

Mutua

Re: Configuring FTPS

Posted: January 25th, 2017, 6:11 am
by josh
FTPS/FTPES both require that you install an SSL certificate on your server. Android does not like it if you use self-signed certificates so you need to purchase a certificate online and install it. The only way to use a self-signed certificate on Android is to add it to the trusted certificates on each Android tablet from the Android settings (under security).

I don't believe that FTPS provides any kind of checksum or integrity check on the files transferred. SFTP (FTP over SSH) does but CSPro does not support SFTP. So switching to FTPS/FTPES will not solve your problem.

In CSPro 6.3 your best bet would be to use the filesize() function and compare the size of the downloaded file to an expected size. You can download a lookup file that contains all the sizes.

In CSPro 7 you can use the diagnostics function to compute an md5 hash of a file. Of course using the sync_file function in CSPro 7 the system automatically does an integrity check using an md5 hash so that would be redundant.

Re: Configuring FTPS

Posted: January 25th, 2017, 6:33 am
by kakinyim
Thanks Josh.

The problem with "filesize() function" is even the launch pen file could also have download issue in which case you wont run the checksum logic.

I will try for lookups

Thank once again.

Mutua

Re: Configuring FTPS

Posted: March 2nd, 2017, 2:25 am
by munirmdee1
Mutua Kakinyi, hello brother!!?...

How far with FTPS Configuration? have you managed to solve the problem?

This is Munir Mdee