The documentation for the "copyFrom" option would imply that this is possible, however after trying the sample code (included below for convenience), I was not able to copy the contents of one bucket to another. I tried adding the "dest" parameter, adding the "bucket" parameter to options, and removing the "src" parameter. I got an error when I removed the "src" parameter, and all other attempts said "Put 0 files".
A little more context. I'm copying my static assets to S3, to be served by CloudFront. I'm putting everything in a static folder in S3, however, that static folder doesn't exist locally. Could that be an issue? Is there something else I'm missing here?
The documentation for the "copyFrom" option would imply that this is possible, however after trying the sample code (included below for convenience), I was not able to copy the contents of one bucket to another. I tried adding the "dest" parameter, adding the "bucket" parameter to options, and removing the "src" parameter. I got an error when I removed the "src" parameter, and all other attempts said "Put 0 files".
A little more context. I'm copying my static assets to S3, to be served by CloudFront. I'm putting everything in a static folder in S3, however, that static folder doesn't exist locally. Could that be an issue? Is there something else I'm missing here?