Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 03-30-2004, 10:41 AM   #1
LQ Newbie
Registered: Mar 2004
Posts: 13

Rep: Reputation: 0
SSL and 503 FTP Error :: Socket


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
- SSL_connect()
- handshake is success

// At this point, everything is send/recv via SSL
// SSL_send() and SSL_recv()

- PBSZ 0
- USER <username>
- PASS <password>
// All the above are successful
// Server respond "230 <username> logged in."

// Every command afterward returns an error

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.




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to connect to UNIX socket /tmp/.esd/socket error while using grip dr_zayus69 Linux - Software 4 08-23-2005 07:28 PM
FTP via SSL (TLS) embsupafly Linux - Security 2 03-02-2005 08:47 PM
Error 503 Apache v2-ncl Linux - Software 1 07-07-2004 06:36 PM
SSL and SSH :: Socket kuphryn Linux - Security 3 04-11-2004 10:18 PM
google is down!! 503 server error thehundredthone General 7 03-25-2004 10:10 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:23 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration