Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. SSL and 503 FTP Error :: Socket

SSL and 503 FTP Error :: Socket

Scheduled Pinned Locked Moved C / C++ / MFC
helpsysadminsecurityquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    valikac
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups