secure login

Eugene Tsyrklevich eugene at securityarchitects.com
Tue May 30 20:32:01 CDT 2000


~sdpm~
search for dataconn: http://search.cpan.org/doc/GBARR/libnet-1.0703/Net/FTP.pm
dataconn can be used with Net::FTP retr and stor methods.. see FTP.pm for more details


On Tue, May 30, 2000 at 11:20:08AM -0700, Steve Meier wrote:
> For in house testing I will use the Net::FTP. I know the usage looks like:
> use Net::FTP;
> 
>     $ftp = Net::FTP->new("some.host.name", Debug => 0);
>     $ftp->login("anonymous",'me at here.there');
>     $ftp->cwd("/pub");
>     $ftp->get("that.file");
>     $ftp->quit;
> which doesn't display any stats about the transfer. What I want to do is have it
> display what is going on so I can collect the transfer rate.
> 
> I tried something like
> 
> use Net::FTP;
> 
>     my @ftp = Net::FTP->new("some.host.name");
> foreach (@ftp) {
>     $ftp->login("anonymous",'me at here.there');
>     $ftp->cwd("/pub");
>     $ftp->get("that.file");
>     $ftp->quit;
> print $_;
> 
> }
> That was a shot in the dark and I knew it wouldn't work. Does anyone know how to
> collect the results?
> 
> Thanks,
> 
> Steve
~sdpm~

The posting address is: san-diego-pm-list at hfb.pm.org

List requests should be sent to: majordomo at hfb.pm.org

If you ever want to remove yourself from this mailing list,
you can send mail to <majordomo at happyfunball.pm.org> with the following
command in the body of your email message:

    unsubscribe san-diego-pm-list

If you ever need to get in contact with the owner of the list,
(if you have trouble unsubscribing, or have questions about the
list itself) send email to <owner-san-diego-pm-list at happyfunball.pm.org> .
This is the general rule for most mailing lists when you need
to contact a human.




More information about the San-Diego-pm mailing list