Awesome! Thanks. I did look up the Net::Cmd but was a little confused as to how to get the output. Thank you Tom and Mahew. __________________________________________ Ranga Nathan / CSG Systems Programmer - Specialist; Technical Services; BAX Global Inc. Irvine-California Tel: 714-442-7591 Fax: 714-442-2840
Tom Metro <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 01/18/2006 12:59 PM To Ranga Nathan <[EMAIL PROTECTED]> cc L-boston-pm <[email protected]> Subject Re: [Boston.pm] Net::FTP - How to get the FTP log Ranga Nathan wrote: > ...returned as a response to the STOR command. > Any way to trick or force Net::FTP to return the response from the FTP > server? As the Net::FTP man page says: Net::FTP inherits from Net::Cmd so methods defined in Net::Cmd may be used to send commands to the remote FTP server. That should also mean that you can use: message() Returns the text message returned from the last command code() Returns the 3-digit code from the last command. If a command is pending then the value 0 is returned. to retrieve the last server response. -Tom -- Tom Metro Venture Logic, Newton, MA, USA "Enterprise solutions through open source." Professional Profile: http://tmetro.venturelogic.com/ _______________________________________________ Boston-pm mailing list [email protected] http://mail.pm.org/mailman/listinfo/boston-pm _______________________________________________ Boston-pm mailing list [email protected] http://mail.pm.org/mailman/listinfo/boston-pm

