GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  IO::ALL::FTP (3)

.ds Aq ’

NAME

IO::All::FTP - Extends IO::All to FTP URLs

CONTENTS

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(secret@example.org/xyz">ftp://me:secret@example.org/xyz);
    $content < io(ftp://example.org/xyz)->user(me)->password(secret);



DESCRIPTION

This module extends IO::All for dealing with FTP 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 FTP URL.

METHODS

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

OPERATOR OVERLOADING

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

SEE ALSO

IO::All::LWP, IO::All, LWP.

AUTHORS

Ivan Tubert-Brohman <itub@cpan.org> and Brian Ingerson <ingy@cpan.org>

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>

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 IO::ALL::FTP (3) 2007-03-29

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.