I have a problem with the upload of files to amazon, I stored an image to /var/tmp call 50.jpg, and I want to upload this image on this directory: //bucket_name.http://ift.tt/1Gm9Xje. I use this class http://ift.tt/UGr4hv. I tried like this :
S3::setAuth(awsAccessKey, awsSecretKey);
S3::putObjectFile('/var/tmp/', 'bucket-name', '50.jpg', S3::ACL_PUBLIC_READ).
but not work.
Help me please!!! Thx in advance.
Aucun commentaire:
Enregistrer un commentaire