man Bric::Util::Trans::FTP () - FTP Client interface for distributing resources.

NAME

Bric::Util::Trans::FTP - FTP Client interface for distributing resources.

VERSION

$LastChangedRevision$

DATE

$LastChangedDate: 2004-08-12 17:13:34 -0700 (Thu, 12 Aug 2004) $

SYNOPSIS

  use Bric::Util::Trans::FTP

DESCRIPTION

The distribution API uses this class to distribute resources to other servers via FTP.

INTERFACE

Constructors

NONE.

Destructors

NONE.

Public Class Methods

NONE.

Public Instance Methods

NONE.

Public Functions

Puts the files specified by the CW$job object on the servers specified by CW$st. Throws:

*
Unable to connect to remote server.
*
Unable to login to remote server.
*
Unable to change to binary mode on remote server.
*
Unable to create directory on remote server.
*
Unable to put resource on remote server.
*
Unable to rename resource on remote server.
*
Unable to properly close connection to remote server. Side Effects: NONE. Notes: Uses Net::FTP internally. Unfortunately, except for connecting to the remote server, Net::FTP provides no error messages for failures. This will make debugging more difficult, but there's not much to be done. Hopefully the generalized error messages will be enough to give system administrators a clue as to what needs to be changed. Deletes the files specified by the CW$job object from the servers specified by CW$st. Throws:
*
Unable to connect to remote server.
*
Unable to login to remote server.
*
Unable to delete resource from remote server.
*
Unable to properly close connection to remote server. Side Effects: NONE. Notes: See put_res(), above.

PRIVATE

Private Class Methods

NONE.

Private Instance Methods

NONE.

Private Functions

NONE.

NOTES

NONE.

AUTHOR

David Wheeler <david@wheeler.net>

SEE ALSO

Bric, Bric::Dist::Action, Bric::Dist::Action::Mover, Bric::Util::Trans::FS