AnyEvent-FTP

 view release on metacpan or  search on metacpan

author.yml  view on Meta::CPAN

    # not methods
    - AnyEvent::FTP::Server::Context::(FS(|RW|RO)|Memory)#(cmd_|help_).*
    - AnyEvent::FTP::Server::Role::(TransferPrep|Auth|Help|Old|Type)#(cmd_|help_).*
    
    # The ::Site:: module documentation actually cover these methods,
    # but Test::Pod::Coverage doesn't like the multipe arrow thing that is
    # going on there, but I think it be more clear
    - AnyEvent::FTP::Client::Site::Base#client
    - AnyEvent::FTP::Client::Site::Microsoft#dirstyle
    - AnyEvent::FTP::Client::Site::NetFtpServer#version
    - AnyEvent::FTP::Client::Site::Proftpd#(chgrp|chmod|help|quota|ratio|rmdir|symlink|utime|mkdir)

unused_vars:
  skip: 1

lib/AnyEvent/FTP/Client/Site/Proftpd.pm  view on Meta::CPAN

sub utime   { shift->client->push_command([SITE => "UTIME $_[0] $_[1]"]   ) }
sub mkdir   { shift->client->push_command([SITE => "MKDIR $_[0]"]         ) }
sub rmdir   { shift->client->push_command([SITE => "RMDIR $_[0]"]         ) }
sub symlink { shift->client->push_command([SITE => "SYMLINK $_[0] $_[1]"] ) }


sub ratio   { shift->client->push_command([SITE => "RATIO"]               ) }
sub quota   { shift->client->push_command([SITE => "QUOTA"]               ) }
sub help    { shift->client->push_command([SITE => "HELP $_[0]"]          ) }
sub chgrp   { shift->client->push_command([SITE => "CHGRP $_[0] $_[1]"]   ) }
sub chmod   { shift->client->push_command([SITE => "CHMOD $_[0] $_[1]"]   ) }

1;

__END__

=pod

=encoding UTF-8

=head1 NAME

lib/AnyEvent/FTP/Client/Site/Proftpd.pm  view on Meta::CPAN

 $client->site->proftpd->help( $arg1 );

Execute C<SITE HELP> command.

=head2 chgrp

 $client->site->proftpd->chgrp( $arg1, $arg2 );

Execute C<SITE CHGRP> command.

=head2 chmodk

 $client->site->proftpd->chmodk( $arg1, $arg2 );

Execute C<SITE CHMOD> command.

=head1 AUTHOR

Author: Graham Ollis E<lt>plicease@cpan.orgE<gt>

Contributors:

Ryo Okamoto



( run in 0.344 second using v1.01-cache-2.11-cpan-496ff517765 )