Skip to main content
GameDev.net gamedev.net
🔒 Locked

SSL and 503 FTP Error :: Socket

Started by kuphryn Mar 30, 2004 at 12:01 AM 0 replies 500+ views
Original Post
kuphryn
kuphryn
Hello. I am working on a small socket application that utilizes SSL and FTP protocol. The problem is that the server response with error: "503 Log in with USER first." The SSL is OpenSSL. Here is an overview of the sequence. - winsock connect - AUTH SSL - SSL_connect() - handshake is success // At this point, everything is send/recv via SSL // SSL_send() and SSL_recv() - PBSZ 0 - PROT P - USER - PASS ... // All the above are successful // Server respond "230 logged in." // Every command afterward returns an error - SYST Basically, every command the program sends, the server would return "503 Log in with USER first." Do you need to package outgoing data in a special SSL package before passing it to SSL_send()? Please post if you have any idea. Thanks, Kuphryn

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.