Help for this page

Select Code to Download


  1. or download this
    *** file permisions: $VAR1 = bless( {
                     'uid' => 500,
    ...
                     'size' => '0'
                   }, 'Net::SFTP::Attributes' );
    
  2. or download this
     my $attrs = Net::SFTP::Attributes->new(Stat => [ stat "test.file" ]);
            print "*** file permisions: " . Dumper($attrs) ."\n";
    ...
            $attrs = Net::SFTP::Attributes->new(Stat => [ stat "test.file"
    + ]);
            print "*** file permisions: " . ($attrs->{'perm'}) ."\n";