Put an object from a file (legacy function)
public static putObjectFile ( string $file, string $bucket, string $uri, constant $acl = self::ACL_PRIVATE, array $metaHeaders = [], string $contentType = null ) : boolean | ||
$file | string | Input file path |
$bucket | string | Bucket name |
$uri | string | Object URI |
$acl | constant | ACL constant |
$metaHeaders | array | Array of x-amz-meta-* headers |
$contentType | string | Content type |
Résultat | boolean |