-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't work if there is a period in bucket name #10
Comments
Hi Ahh honestly never tried that, will fix that in the next release. Thanks for the info! Ken |
Hi, Is this fixed? I have the latest release (1.4.0.7) and hitting the same issue. |
Please try version 1.4.1 ( https://github.com/kpfaulkner/azurecopy/releases/tag/1.4.1 ) and let me know how it goes. Sorry for the delay. |
I could perform the list of contents from Azure now - what was wrong was the azureAccessKey and the container URL. Now I'm actually trying to perform the copy and I get C:>azurecopy -i https://se.amazonaws.com/ -o https://.blob.core.windows.net/ -azurekey %AzureAccountKey% -s3k %AWSAccessKeyID% -s3sk %AWSSecretAccessKeyID% -blobcopy -destblobtype block blobName Failed: |
How do I do to copay all files at once? |
Hi
Unless the URLs aren’t copying/pasting correctly into the email I suspect they’re one problem.
Both the S3 and Azure URLs look wrong. Se.amazonaws.com isn’t valid (as far as I know) and .blob.core.windows.net isn’t valid either. They’d need to be something like.
S3: Mybucket.s3.amazonaws.com
Azure: myaccount.blob.core.windows.net
In the error below, you’re listening “blobName” in the command, which doesn’t belong there.
Say, you have a S3 bucket called “mybucket” and an Azure account called “myaccount” with a container called “mycontainer” and wanted to copy all the content from S3 to Azure. The command to run would be:
azurecopy -i https://mybucket.s3.amazonaws.com/ -o https://myaccount.blob.core.windows.net/mycontainer/ -azurekey %AzureAccountKey% -s3k %AWSAccessKeyID% -s3sk %AWSSecretAccessKeyID% -blobcopy
Thanks
Ken
From: fabianoamorim
Sent: Friday, 9 June 2017 3:17 AM
To: kpfaulkner/azurecopy
Cc: Ken Faulkner; Comment
Subject: Re: [kpfaulkner/azurecopy] Doesn't work if there is a period inbucket name (#10)
I could perform the list of contents from Azure now - what was wrong was the azureAccessKey and the container URL.
Now I'm actually trying to perform the copy and I get
C:>azurecopy -i https://se.amazonaws.com/ -o https://.blob.core.windows.net/ -azurekey %AzureAccountKey% -s3k %AWSAccessKeyID% -s3sk %AWSSecretAccessKeyID% -blobcopy -destblobtype block blobName
-db
GetHandler start
GetHandler retrieved azurecopy.S3Handler
GetHandler start
GetHandler retrieved azurecopy.AzureHandler
Copy blob
Unable to start copying
Exception System.ArgumentException: The argument must not be empty string.
Parameter name: blobName
at Microsoft.WindowsAzure.Storage.Core.Util.CommonUtility.AssertNotNullOrEmpty(String paramName, String value)
at Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer.GetBlockBlobReference(String blobName, Nullable1 snapshotTime) at azurecopy.AzureBlobCopyHandler.StartCopy(BasicBlobContainer origBlob, String DestinationUrl, DestinationBlobType destBlobTyp e, Boolean skipIfExists) at azurecopy.AzureBlobCopyHandler.StartCopyList(IEnu merable1 origBlobList, String destinationUrl, DestinationBlobType destBlob
Type, Boolean debugMode, Boolean skipIfExists)
New Batch
Failed:
Aborted:
Pending:
Copy complete
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hi, thanks for the tool!
If I have a period in my AWS bucket name, I am unable to grab the files from the bucket. I tested with two new buckets, one with and one without a period and I am unable to list or copy my files from the bucket with a period.
The text was updated successfully, but these errors were encountered: