<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Mirroring a local dir to ftp (curl?)</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Hello,<BR>
<BR>
I have a local directory that I'd like to mirror up onto a ftp server as part of a cron script.<BR>
<BR>
Looking at the available tools (The server is OS X) curl seems the best bet, but doesn't seem to do recursive uploads.<BR>
<BR>
So far I've come up with<BR>
<BR>
find /path/to/dir -exec curl -T {} \;<BR>
<BR>
But its horribly inefficient.<BR>
<BR>
Does anyone have a better idea (I know someone will have) either using curl or another tool.<BR>
<BR>
Thanks<BR>
<BR>
~sm</FONT>
</P>
</BODY>
</HTML>