NAME
CTK::Plugin::Net - Net plugin
VERSION
Version 1.02
SYNOPSIS
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$/,
)
DESCRIPTION
Net plugin. This plugin is proxy to CTK::Plugin::FTP and CTK::Plugin::SFTP plugins
METHODS
- fetch
-
Download specified files from remote resource
See related modules description
- store
-
Upload files from local directory to remote resource by mask
See related modules description
HISTORY
See Changes
file
DEPENDENCIES
TO DO
* Use SSH (SFTP)
See TODO
file
BUGS
* none noted
SEE ALSO
CTK, CTK::Plugin, CTK::Plugin::SFTP, CTK::Plugin::FTP
AUTHOR
Serż Minus (Sergey Lepenkov) https://www.serzik.com <abalama@cpan.org>
COPYRIGHT
Copyright (C) 1998-2022 D&D Corporation. All Rights Reserved
LICENSE
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