Open evach-vf opened 8 years ago
When uploading an object using Container::UploadObject(), the returned object doesn't have their Etag and ContentType set, they're both NULL.
Container::UploadObject()
Etag
ContentType
NULL
On success, both values should be set and returned.
Example code:
// Upload an object to the container. $localFileName = __DIR__ . '/php-elephant.jpg'; $remoteFileName = 'php-elephant.jpg'; $handle = fopen($localFileName, 'r'); $object = $container->uploadObject($remoteFileName, $handle);
The same thing also occurs with Container::UploadObjects()
Container::UploadObjects()
When uploading an object using
Container::UploadObject()
, the returned object doesn't have theirEtag
andContentType
set, they're bothNULL
.On success, both values should be set and returned.
Example code:
The same thing also occurs with
Container::UploadObjects()