'{username}', 'apiKey' => '{apiKey}', )); // 2. Obtain an Object Store service object from the client. $objectStoreService = $client->objectStoreService(null, '{region}'); // 3. Get container. $container = $objectStoreService->getContainer('{containerName}'); // 4. Configure $objectTransfer = $container->setupObjectTransfer(array( 'name' => '{remoteObjectName}', 'path' => '{localFilePath}', )); // 5. Initiate transfer $objectTransfer->upload();