ReturnCode Checking for FTP

Eddie Chen echen at
Mon May 4 15:54:13 UTC 2009

Dear Sir,

    I am looking of implementing FTP return code checking after a command
is issued
    If the FTP command return   "code"   not equal from return code to be
check,  EXIT 255.

    Command:   "? nnn". Where "nnn" is the return code to be check.

Visit our website at


Note:  The information contained in this message and any attachment
to it is privileged, confidential and protected from disclosure.  If the 
reader of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the intended 
recipient, you are hereby notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify the 
sender immediately by replying to the message, and please delete
it from your system. Thank you.  NYSE Euronext, Inc.

More information about the freebsd-questions mailing list