Dibatalkan

PHP script to upload files to AWS S3 bucket with periods in the bucket name

I can't seem to upload files via my existing PHP script to AWS S3 bucket that has a bucket name with periods.

ie "[url removed, login to view]"

Using the current AWS SDK 1.5.17.1

MY script looks like this..It should be an easy fix, unless this is a issue with the SDK

Budget is $30

function putfile($filename, $bucket_filename, $bucketname)

{

require_once('sdk-1.5.17.1/[url removed, login to view]');

$s3 = new AmazonS3();

$s3->batch()->create_object($bucketname, $bucket_filename, array('fileUpload' => $filename, 'acl'=>AmazonS3::ACL_PUBLIC));

$file_upload_response = $s3->batch()->send();

if (!$file_upload_response->areOK()) {

echo 'ERROR... ';

return false;

} else {

echo 'SUCCESS';

return true;

}

}

Kemahiran: PHP, Kejuruteraan Perisian

Lihat lebih lanjut: php aws, error php script, aws, aws php, php script function, php script echo, php script name, aws sdk upload, aws architecture, aws sdk, echo script php, aws bucket software, aws bucket, echo script, php echo script, php upload aws, php script send, php sdk, aws php upload, upload aws, aws script, php script putfile, send php sdk, software php script, aws sdk php

Tentang Majikan:
( 84 ulasan ) Sydney, Australia

ID Projek: #4111041

3 pekerja bebas membida secara purata $30 untuk pekerjaan ini

meet2amitvw

Hello I know this and solve it within some hours. Let me know if you are interested i can start it immediately.

$30 AUD dalam sehari
(60 Ulasan)
6.8
k1ng440

Full time freelance web developer with over 8 years of commercial experience.

$30 AUD dalam sehari
(88 Ulasan)
6.4
technocompetence

i have the solution.

$30 AUD dalam 0 hari
(0 Ulasan)
0.0