NAME

IO::All::Securftp - Securftp handler for IO::All

SYNOPSIS

use IO::All;

$content < io('securftp://remote@server/path/to/file.ext');
io('Securftp://user@host/path/to/file.ext') > io("$tmpdir/file.ext");

io('Securftp://user@host/path/to/file.ext')->print("Hello world: $msg\n");
my $content = io($self->{uri} . "/$filename")->open("<", { get_content => { conversion => 'unix2dos' } })->slurp();

DESCRIPTION

This module extends IO::All for dealing with secure ftp remotes.

METHODS

SecureFTP_init

Called by uri handler of IO::All. The capability of user specified parameters are limited.

securftp

Called by uri handler of IO::All. The capability of user specified parameters are limited.

open

Called whenever a handle shall be opened for reading or writing. Can be triggered manually or automatically.

$io->open($mode, \%options?)

As $mode values are "<", ">" and ">>" supported.

The %options hash is passed to IO::All::Securftp::iowrap.

AUTHOR

Jens Rehsack, <rehsack at cpan.org>

BUGS

Please report any bugs or feature requests to bug-IO-All-Securftp at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=IO-All-Securftp. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc IO::All::Securftp

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2015 Jens Rehsack.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

SEE ALSO