-
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
System.FormatException: Invalid length for a Base-64 char array or string. #27
Comments
Hi What version of azurecopy are you using? Thanks Ken |
Hi
Just to clarify, in the real command you execute the S3 and Azure URLs are correct, yes?
Thanks
Ken
… On 8 Jun 2017, at 07:46, fabianoamorim ***@***.***> wrote:
I'm trying to perform a copy form AWS S3 to Azure of a simple test.txt file
azurecopy -i https://se.amazonaws.com/ -o https://.blob.core.windows.net/
-azurekey %AzureAccountKey% -s3k %AWSAccessKeyID% -s3sk %AWSSecretAccessKeyID% -blobcopy -db
... and I'm getting error :
GetHandler start
GetHandler retrieved azurecopy.S3Handler
GetHandler start
Unknown error generated. Please report to Github page https://github.com/kpfaulkner/azurecopy/issues . Can view underlyin
race by adding -db flag. System.FormatException: Invalid length for a Base-64 char array or string.
at System.Convert.FromBase64_Decode(Char* startInputPtr, Int32 inputLength, Byte* startDestPtr, Int32 destLength)
at System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength)
at System.Convert.FromBase64String(String s)
at Microsoft.WindowsAzure.Storage.Auth.StorageCredentials.UpdateKey(String keyValue, String keyName)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I'm using version 1.3.1. I believe I'm using the correct URLs. I tried the 'list' command for the S3 and it worked! (It brought a list of the contents of the S3 bucket). I'm not sure about the correct parameter for 'AzureAccountKey', when I go to Azure console I cannot find a property with this exact name. |
I tried to perform the 'list' command on the azure storage and I get similar error: C:>azurecopy -list https://.blob.core.windows.net/ -azurekey %AzureAccountKey% -s3k %AWSAccessKeyID% -s3sk %AWSSecretAccessKeyID% -db |
I'm sorry but the correct version I'm using of ## azurecopy is version 1.4.3.0 |
I have same issue when i use PowerShell and currently am using Version azurecopy-1.5.1, |
Thanks for the update. /me puts it on his todo list :) |
I'm trying to perform a copy form AWS S3 to Azure of a simple test.txt file
azurecopy -i https://se.amazonaws.com/ -o https://.blob.core.windows.net/
-azurekey %AzureAccountKey% -s3k %AWSAccessKeyID% -s3sk %AWSSecretAccessKeyID% -blobcopy -db
... and I'm getting error :
GetHandler start
GetHandler retrieved azurecopy.S3Handler
GetHandler start
Unknown error generated. Please report to Github page https://github.com/kpfaulkner/azurecopy/issues . Can view underlyin
race by adding -db flag. System.FormatException: Invalid length for a Base-64 char array or string.
at System.Convert.FromBase64_Decode(Char* startInputPtr, Int32 inputLength, Byte* startDestPtr, Int32 destLength)
at System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength)
at System.Convert.FromBase64String(String s)
at Microsoft.WindowsAzure.Storage.Auth.StorageCredentials.UpdateKey(String keyValue, String keyName)
The text was updated successfully, but these errors were encountered: