mod_copy
The mod_copy
module implements a SITE COPY
command,
which can be used to copy files/directories from one place to another on
the server without having to transfer the data to the client and back.
This module is contained in the mod_copy.c
file for
ProFTPD 1.3.x, and is not compiled by default. Installation
instructions are discussed here.
The most current version of mod_tar
can be found at:
http://www.castaglia.org/proftpd/
Please contact TJ Saunders <tj at castaglia.org> with any questions, concerns, or suggestions regarding this module.
SITE
CommandsSITE
command allows the copying of files/directories
from one place to another directly on the server, without requiring any
data transfers.
The syntax for SITE COPY
is:
SITE COPY from to
Use of this
For those with an existing ProFTPD installation, you can use the
SITE
command can be controlled via
<Limit>
sections, e.g.:
<Limit SITE_COPY>
AllowUser alex
DenyAll
</Limit>
Installation
To install mod_copy
, copy the mod_copy.c
file into:
proftpd-dir/contrib/
after unpacking the latest proftpd-1.3.x source code. For including
mod_copy
as a staticly linked module:
./configure --with-modules=mod_copy
To build mod_copy
as a DSO module:
./configure --enable-dso --with-shared=mod_copy
Then follow the usual steps:
make
make install
prxs
tool to add mod_copy
, as a DSO module, to
your existing server:
# prxs -c -i -d mod_copy.c
Author: $Author: tj $
Last Updated: $Date: 2009/09/30 22:23:33 $
© Copyright 2009 TJ Saunders
All Rights Reserved