{"action":"opened","issue":{"url":"https://api.github.com/repos/tpyo/amazon-s3-php-class/issues/107","labels_url":"https://api.github.com/repos/tpyo/amazon-s3-php-class/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/tpyo/amazon-s3-php-class/issues/107/comments","events_url":"https://api.github.com/repos/tpyo/amazon-s3-php-class/issues/107/events","html_url":"https://github.com/tpyo/amazon-s3-php-class/issues/107","id":64617253,"number":107,"title":"Using php to upload multiple media files","user":{"login":"l337","id":1383786,"avatar_url":"https://avatars.githubusercontent.com/u/1383786?v=3","gravatar_id":"","url":"https://api.github.com/users/l337","html_url":"https://github.com/l337","followers_url":"https://api.github.com/users/l337/followers","following_url":"https://api.github.com/users/l337/following{/other_user}","gists_url":"https://api.github.com/users/l337/gists{/gist_id}","starred_url":"https://api.github.com/users/l337/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/l337/subscriptions","organizations_url":"https://api.github.com/users/l337/orgs","repos_url":"https://api.github.com/users/l337/repos","events_url":"https://api.github.com/users/l337/events{/privacy}","received_events_url":"https://api.github.com/users/l337/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-26T19:43:45Z","updated_at":"2015-03-26T19:43:45Z","closed_at":null,"body":"$bucket = 'cdn.blkbxcg.com/urlifemedia/';\r\n$orderid = Session::get('orderid');\r\n$target_path = $orderid . '/' . $type . '/' . $_FILES['file']['name'][$i];\r\nS3::putObject(\r\n   $_FILES['file']['name'][$i],\r\n   $bucket . 'testing',\r\n   $target_path,\r\n  S3::ACL_PUBLIC_READ_WRITE\r\n);\r\n\r\ntype is either 'images' or 'video', whenever my script runs it creates the folders and files just fine. Whenever I download the media from transmit file and open it, it says the file is corrupted. When I delete the newly created folder, transmit (ftp program) deletes the folder but it gives me a warning also saying 'couldn't find folder'."}}