Test::SFTP

An object to help test Net::SFTP
Download

Test::SFTP Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Sawyer X
  • Publisher web site:
  • http://search.cpan.org/~xsawyerx/

Test::SFTP Tags


Test::SFTP Description

An object to help test Net::SFTP Unlike most testing frameworks, Test::SFTP is a Perl module that provides an object oriented interface. The reason is that it's simply easier to use an object than throw the login information as command arguments each time. Maybe in time, there will be another interface that will accept login information through global package variables.SYNOPSIS use Test::SFTP; my $t_sftp = Test::SFTP->new( host => 'localhost', user => 'sawyer', password => '2o7U!OYv', ... ); $t_sftp->can_get( $remote_path, "Trying to get: $remote_path" ); $t_sftp->can_put( $local_path, $remote_path, "Trying to copy $local_path to $remote_path" ); Requirements: · Perl


Test::SFTP Related Software