SYNOPSIS

    use IO::All;

    "hello world\n" > io('ftp://localhost/test/x');  # save to FTP
    io('ftp//example.org/pub/xyz') > io('xyz');      # GET to file

    # two ways of getting a file with a password:
    $content < io('ftp://me:[email protected]/xyz');
    $content < io('ftp://example.org/xyz')->user('me')->password('secret');

DESCRIPTION

This module extends IO::All for dealing with \s-1FTP\s0 URLs. Note that you don't need to use it explicitly, as it is autoloaded by IO::All whenever it sees something that looks like an \s-1FTP\s0 \s-1URL\s0.

METHODS

This is a subclass of IO::All::LWP. The only new method is \*(C`ftp\*(C', which can be used to create a blank IO::All::FTP object; or it can also take an \s-1FTP\s0 \s-1URL\s0 as a parameter. Note that in most cases it is simpler just to call io('ftp//example.com'), which calls the \*(C`ftp\*(C' method automatically.

OPERATOR OVERLOADING

The same operators from IO::All may be used. < GETs an \s-1FTP\s0 \s-1URL\s0; > PUTs to an \s-1FTP\s0 \s-1URL\s0.

RELATED TO IO::All::FTP…

IO::All::LWP, IO::All, \s-1LWP\s0.

AUTHORS

Ivan Tubert-Brohman <[email protected]> and Brian Ingerson <[email protected]>

COPYRIGHT

Copyright (c) 2007. Ivan Tubert-Brohman and Brian Ingerson. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See <http://www.perl.com/perl/misc/Artistic.html>