I'm planning to move 3 CakePHP 1.3.x applications from an ol' VM to AWS elasticBeanstalk.
As AWS EB is stateless, customers pictures/pdf have to be moved to S3 (files not versionned, and not meant to).
Working with CakePHP & S3 is ok, now I have to manage how files will be uploaded. I want to avoid transferring file from browser to EB, and next to S3 BUT each file should be uploaded to S3 only when the model is validated, and the model can't validate until he "knows" about the file (size, extension, etc).
As a mingy developer, I'm willing to know if there's a solution to that problem!