CTK::Plugin::Net - Net plugin
Version 1.02
use CTK; my $ctk = CTK->new( plugins => "net", ); $ctk->fetch( -url => 'ftp://anonymous:anonymous@192.168.200.8/path/srs?Timeout=30&Passive=1', -command => "copy", # copy / move -uniq => "off", -dirdst => "/path/to/destination/dir", # Destination directory -regexp => qr/tmp$/, ); $ctk->store( -url => 'ftp://anonymous:anonymous@192.168.200.8/path/dst?Timeout=30&Passive=1', -command => "copy", # copy / move -uniq => "off", -dirsrc => "/path/to/source/dir", # Source directory -regexp => qr/tmp$/, )
Net plugin. This plugin is proxy to CTK::Plugin::FTP and CTK::Plugin::SFTP plugins
Download specified files from remote resource
See related modules description
Upload files from local directory to remote resource by mask
See Changes file
Changes
CTK, CTK::Plugin
* Use SSH (SFTP)
See TODO file
TODO
* none noted
CTK, CTK::Plugin, CTK::Plugin::SFTP, CTK::Plugin::FTP
Serż Minus (Sergey Lepenkov) https://www.serzik.com <abalama@cpan.org>
Copyright (C) 1998-2022 D&D Corporation. All Rights Reserved
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See LICENSE file and https://dev.perl.org/licenses
LICENSE
To install CTK, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CTK
CPAN shell
perl -MCPAN -e shell install CTK
For more information on module installation, please visit the detailed CPAN module installation guide.