我需要通过cloudberry powershell管理单元连接到我的存储桶。我经历了以下步骤:
Set-CloudOption -ProxyAddress {muProxyAddress} -ProxyPort 80
$s3 = Get-CloudS3Connection -Key myKey -Secret mySecret
$source = $s3 | Select-CloudFolder -Path myBucketName/myFolderName但是我得到了这个错误:
Select-CloudFolder : Redirect location is empty
At line:1 char:17
+ $source = $s3 | Select-CloudFolder -Path myBucketName/myFolderName
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Select-CloudFolder], Exception
+ FullyQualifiedErrorId : System.Exception,CloudBerryLab.Explorer.PSSnapIn.Commands.SelectCloudFolder日志文件中记录的内容如下:
2016-09-01 16:06:03,368 S3 INFO - HEAD请求,存储桶: myBucketName,密钥:,版本: 2016-09-01 16:06:04,738基础信息- MovedPermanently至
发布于 2016-09-05 17:38:05
这应该是可行的。
Add-PSSnapin CloudBerryLab.Explorer.PSSnapIn
Set-CloudOption -ProxyAddress xxxx -ProxyPort xxxx -PathStyle Path
$key = "xxxx"
$secret = "xxxx"
$s3 = Get-CloudS3Connection -Key $key -Secret $secret
$source = $s3 | Select-CloudFolder -path TestAutoSync/backuphttps://stackoverflow.com/questions/39323350
复制相似问题