Module::Release::FTP - Interact with an FTP server
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.
- ftp_upload( PARAMS )
Upload the file in
remote_fileto 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 email@example.com hostname pause.perl.org
Turn on passive FTP.
Turn off passive FTP.
Get the value of the passive FTP setting
The class name to use to create the FTP object. The class needs to follow the
- 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.
Override these methods to change the default values. Remember that the overridden methods have to show up in the
This source is in Github:
brian d foy,
Copyright © 2007-2016, brian d foy <firstname.lastname@example.org>. All rights reserved.
You may redistribute this under the same terms as Perl itself.