Fix compiler warnings

i hope u tested with FTPS/SFTP site.