• Advertisement


This topic is now archived and is closed to further replies.

SSL and 503 FTP Error :: Socket

This topic is 5074 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post

Link to post
Share on other sites

  • Advertisement