powershell cloudberry snap in Select-CloudFolder error : "Redirect location is empty"
powershell cloudberry snap in Select-CloudFolder error : "Redirect location is empty"
我需要通过 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] [管道执行线程] 信息 - HEAD 请求,桶:myBucketName,键:,版本:
2016-09-01 16:06:04,738 [基础] [管道执行线程] 信息 - 永久移动到
这应该有效。
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/backup
我需要通过 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] [管道执行线程] 信息 - HEAD 请求,桶:myBucketName,键:,版本: 2016-09-01 16:06:04,738 [基础] [管道执行线程] 信息 - 永久移动到
这应该有效。
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/backup