Click here to Skip to main content
15,918,343 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Close dialog box on loss of focus Pin
gUrM33T31-Mar-04 17:26
gUrM33T31-Mar-04 17:26 
GeneralRe: Close dialog box on loss of focus Pin
Anonymous1-Apr-04 7:03
Anonymous1-Apr-04 7:03 
GeneralRe: Close dialog box on loss of focus Pin
gUrM33T31-Mar-04 17:28
gUrM33T31-Mar-04 17:28 
Generalstandard c question Pin
Rob Tomson30-Mar-04 11:18
Rob Tomson30-Mar-04 11:18 
GeneralRe: standard c question Pin
basementman30-Mar-04 11:26
basementman30-Mar-04 11:26 
GeneralRe: standard c question Pin
Rob Tomson30-Mar-04 12:04
Rob Tomson30-Mar-04 12:04 
GeneralRe: standard c question Pin
Prakash Nadar30-Mar-04 15:00
Prakash Nadar30-Mar-04 15:00 
GeneralSSL and 503 FTP Error :: Socket Pin
valikac30-Mar-04 11:14
valikac30-Mar-04 11:14 
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 <username>
- PASS <password>
...
// All the above are successful
// Server respond "230 <username> 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
GeneralWM_COPYDATA Pin
Dave_30-Mar-04 10:36
Dave_30-Mar-04 10:36 
GeneralRe: WM_COPYDATA Pin
l a u r e n30-Mar-04 15:25
l a u r e n30-Mar-04 15:25 
GeneralRe: WM_COPYDATA Pin
Dave_31-Mar-04 2:03
Dave_31-Mar-04 2:03 
GeneralRe: WM_COPYDATA Pin
l a u r e n31-Mar-04 5:42
l a u r e n31-Mar-04 5:42 
GeneralRe: WM_COPYDATA Pin
Dave_1-Apr-04 7:29
Dave_1-Apr-04 7:29 
GeneralShell Open Occured Pin
sschilachi30-Mar-04 9:52
sschilachi30-Mar-04 9:52 
GeneralRe: Shell Open Occured Pin
Michael Dunn30-Mar-04 11:16
sitebuilderMichael Dunn30-Mar-04 11:16 
GeneralRe: Shell Open Occured Pin
sschilachi30-Mar-04 23:15
sschilachi30-Mar-04 23:15 
Generalpro engineer.... wild fire... AHHHH Pin
OMalleyW30-Mar-04 9:52
OMalleyW30-Mar-04 9:52 
GeneralRe: pro engineer.... wild fire... AHHHH Pin
Prakash Nadar30-Mar-04 14:58
Prakash Nadar30-Mar-04 14:58 
GeneralRe: pro engineer.... wild fire... AHHHH Pin
OMalleyW30-Mar-04 22:47
OMalleyW30-Mar-04 22:47 
GeneralRe: pro engineer.... wild fire... AHHHH Pin
Prakash Nadar31-Mar-04 2:29
Prakash Nadar31-Mar-04 2:29 
GeneralNetwork availability change events Pin
JT Anderson30-Mar-04 9:15
JT Anderson30-Mar-04 9:15 
GeneralRe: Network availability change events Pin
David Crow30-Mar-04 9:20
David Crow30-Mar-04 9:20 
GeneralRe: Network availability change events Pin
JT Anderson30-Mar-04 9:43
JT Anderson30-Mar-04 9:43 
GeneralStretchBlt replacement Pin
#realJSOP30-Mar-04 9:07
professional#realJSOP30-Mar-04 9:07 
GeneralRe: StretchBlt replacement Pin
Prakash Nadar30-Mar-04 14:56
Prakash Nadar30-Mar-04 14:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.