On 12/11/07, Wagner, David --- Senior Programmer Analyst --- WGO <[EMAIL PROTECTED]> wrote:
> I have the following code: > > $MyFTP->put($MyFtpFromFile , $MyFtpToFile ); > if ( ! $MyFTP->ok() ) { Are you using Net::FTP? Does your version of the documentation for Net::FTP mention an ok() method? I don't see one here: http://perldoc.perl.org/Net/FTP.html It doesn't seem that you're using the module in the same way it's done in the documentation. As I read things, using the return value from the put() method as a Boolean value is the (only?) way to check for success. Is that the problem? Good luck with it! --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/