My PHP script for copying a directory tree directly from a web server (like this one) to Amazon S3, tentatively called PHP2S3, has reached a point where it might be worth sharing with other people. It was actually a lot simpler than I thought it would be. Writing the code was easy; it was finding the right tools and libraries and such to facilitate development that really took all the time. Now that I’ve climbed that “learning” curve, I could probably do something twice as complex in half the time – and yes, I’m open to suggestions. Just for fun, I’m distributing the package available via S3 itself. The tar file contains the script plus the S3 library pre-patched as mentioned in my previous S3 post.