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  -  MODULE::RELEASE::FTP (3)

.ds Aq ’

NAME

Module::Release::FTP - Interact with an FTP server

CONTENTS

SYNOPSIS

NOTE: PAUSE has turned off FTP uploads. Methods in this class will croak. If you want to make a private PAUSE with FTP, you can adapt this manual.

DESCRIPTION

ftp_upload( PARAMS ) Upload the file in local_file as remote_file to the FTP server. You can pass parameters to ftp_upload to change some of the behavior. Each parameter has a default value (see the default_* subs at the end of the module):



        Input key       Default value
        ----------      -------------
        upload_dir      /incoming
        user            anonymous
        password        joe@example.com
        hostname        pause.perl.org



ftp_passive_on Turn on passive FTP.
ftp_passive_off Turn off passive FTP.
ftp_passive Get the value of the passive FTP setting
ftp_class_name The class name to use to create the FTP object. The class needs to follow the Net::FTP interface.
get_ftp_object( HOSTNAME ) Create and returnt the FTP object, based on the class name from ftp_class_name. IT connects to HOSTNAME, but does not login.

    Default values

Override these methods to change the default values. Remember that the overridden methods have to show up in the Module::Release namespace.
default_ftp_hostname pause.perl.org
default_ftp_user anonymous
default_ftp_password joe@example.com
default_ftp_upload_dir /incoming

SEE ALSO

Module::Release

SOURCE AVAILABILITY

This source is in Github:



        https://github.com/briandfoy/module-release



AUTHOR

brian d foy, <bdfoy@cpan.org>

COPYRIGHT AND LICENSE

Copyright X 2007-2016, brian d foy <bdfoy@cpan.org>. All rights reserved.

You may redistribute this under the same terms as Perl itself.

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


perl v5.20.3 MODULE::RELEASE::FTP (3) 2016-03-04

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