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

NAME

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

VERSION

$LastChangedRevision$

DATE

$LastChangedDate: 2005-07-26 15:10:07 -0700 (Tue, 26 Jul 2005) $

SYNOPSIS

  use Bric::Util::Trans::SFTP

DESCRIPTION

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

INTERFACE

Constructors

NONE.

Destructors

NONE.

Public Class Methods

NONE.

Public Instance Methods

NONE.

Public Functions

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

*
Unable to login to remote server.
*
Unable to create directory on remote server.
*
Unable to put resource on remote server. Side Effects: NONE. Notes: Uses Net::SFTP internally. Deletes the files specified by the CW$resources object from the servers specified by CW$st. Throws:
*
Unable to login to remote server.
*
Unable to delete resource from remote server. Side Effects: NONE. Notes: See put_res(), above.

PRIVATE

Private Class Methods

NONE.

Private Instance Methods

NONE.

Private Functions

Anonymous subroutine to prevent warning messages. Throws: NONE. Notes: NONE. Pass in a Bric::Dist::Server object to get back a list of arguments suitable for passing to CWNet::SFTP->new().

NOTES

NONE.

AUTHOR

Scott Lanning <slanning@theworld.com>

SEE ALSO

Bric, Bric::Dist::Action, Bric::Dist::Action::Mover, Bric::Util::Trans::FS, Net::SFTP, Net::SSH::Perl