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

Reply via email to