I've done this by writing a short php script using the CLI version of php. If all you're wanting to do is upload a certain directory regardless of what has changed, the default binary at /usr/bin/php will do the job handily. I'm fairly sure you could use other scripting tools such as ruby to do the same thing. The advantage of taking this approach is the ability to write extensive logic around the actual upload.
Charley
hadley wickham wrote:
Hi guys and gals,
I was wondering if anyone has a recommendation for a good command line ftp client - ideally I want something that I can use much like rsync but that works over ftp. ie. I want to upload entire directory trees. (and I don't think I can do this with the default ftp client, but I'd love to be shown wrong)
Thanks.,
Hadley
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate