rackspace / php-opencloud

The PHP SDK for OpenStack clouds
developer.rackspace.com
Other
451 stars 249 forks source link

bulkExtract is working, But Auto extract archive files is not moving files to newly created container #746

Open AnilkumarBorra opened 4 years ago

AnilkumarBorra commented 4 years ago

Auto extract archive files i.e., bulkExtract function is working, but files of Tar files is not getting copy to newly created container.

$file_name ="images" $tarFileName = ROOT_PATH."/public/images/client/".$file_name.".tar.gz"; $destinationContainerName = 'newlyCreatedContainer'; $fileData = fopen($tarFileName, 'r'); $this->authorizeRegion()->bulkExtract($destinationContainerName, $fileData, UrlType::TAR_GZ);