I am having some problem coding for a FTP client which should have SSL enables (128 bit encryption) in C in visual Studio enviornment. I can connect to the FTP server not using the default port(21). But the server sends a error message 431 - Unable to negotiate secure command connection. I dont know how to begin the SSL/TLS negotiation. After the controll connnection when I am sendning the PORT ftp command the server returns error 10054. Any win32 API or a sample code will be of great help.