Added ftp over ssl configuration

Added ftp over ssl configuration
Some bug fixes