Zucchini::Rsync - transfer files to remote server using rsync


Zucchini documentation  | view source Contained in the Zucchini distribution.

Index


NAME

Top

Zucchini::Rsync - transfer files to remote server using rsync

SYNOPSIS

Top

  # create a new rsync object
  $rsyncer = Zucchini::Rsync->new(
    {
      config => $self->get_config,
    }
  );

  # transfer the site
  $rsyncer->remote_sync;

DESCRIPTION

Top

This module implements the functionality to transfer files to the remote site using FTP.

METHODS

Top

new

Creates a new instance of the Zucchini Rsync object:

  # create a new fsync object
  $rsyncer = Zucchini::Rsync->new(
    {
      config => $zucchini->get_config,
    }
  );

remote_sync

This function performs an upload to the remote server using File::Rsync.

  # transfer the site
  $rsyncer->remote_sync;

SEE ALSO

Top

Zucchini

AUTHOR

Top

Chisel Wright <chiselwright@users.berlios.de>

LICENSE

Top

Copyright 2008-2009 by Chisel Wright

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>


Zucchini documentation  | view source Contained in the Zucchini distribution.