Subject: | Net-xFTP status problem |
Date: | 03 Aug 2006 18:04:28 EDT |
To: | bug-net-xftp [...] rt.cpan.org |
From: | Marty.Himmelstein [...] valley.net (Marty Himmelstein) |
Hi, Jim -
I think your xFTP module is going to be a lifesaver for us!
I tried to report this bug through bitcard, but am having trouble.
While using xFTP in SFTP mode, I am having trouble using ftp->message. I get the following error message:
***
Can't locate object method "status" via package "Net::SFTP" (perhaps you forgot to load "Net::SFTP"?) at E:/Perl/site/lib/Net/xFTP.pm line 915.
***
I suspect the line that initiate the error in my code is this:
$ftp->mkdir($dir, 'recurse')
or give_up("could not create '$dir' (" . $ftp->message() . ')' );
The failure in this case is almost certainly due to the fact that the directory already exists. It is not a fatal error, but I do want to know about it.
So far, I have used xFTP to login both in regular and secure modes, and to create some directories and files in non-secure mode. I came across this trying to create a dir structure and files in secure mode
Environment:
Perl 5.6.1 (Activestate)
Windows 200 Server
Thanks,
Marty Himmelstein