kpfaulkner / azurecopy

copy blobs between azure, s3 and local storage
Apache License 2.0
36 stars 13 forks source link

Improve documentation #21

Open kpfaulkner opened 7 years ago

kpfaulkner commented 7 years ago

General documentation improvement. Need to make sure I include information about trailing slashes for URLs (containers vs blobs)

darcy-railip commented 7 years ago

I think I'm experiencing an issue with trailing slashes, receiving this error:

CopyBlobByUrl error Needs to end with a /

I am moving a .mov file from S3 to Azure, do I need to specify the file name again in the destination path? I've tried including it, not including it and having the parent folder both with and without a slash, and I'm still getting this error. Thoughts?

Edit: This is my command: "./azurecopy -S3SourceAccessID="xyz" -S3SourceAccessSecret="xyz" -S3SourceRegion="us-east-1" -AzureDestAccountKey="xyz" -AzureDestAccountName="xyz" -source="https://s3.amazonaws.com/bucketname/projects/56d46edc79aadb14008b4568/uploads/moviename.mov" -dest="https://accountname.blob.core.windows.net/containername/projects/56d46edc79aadb14008b4568/versions/56d46edc79aadb14008b4569/source-files/58b4f7aaacad8513008b4567/master/" -copyblob"

Edit: I just tried it without specifying the source file (the parent folder instead), and this seems to be running. I wondered if I could just transfer a specific file but it seems like no?

kpfaulkner commented 7 years ago

Hi

Can you give me the full command you're using? (Replacing the secrets/keys obviously).

Thanks

Ken

On 16 May 2017, at 06:26, rail24 notifications@github.com wrote:

I think I'm experiencing an issue with trailing slashes, receiving this error:

CopyBlobByUrl error Needs to end with a /

I am moving a .mov file from S3 to Azure, do I need to specify the file name again in the destination path? I've tried including it, not including it and having the parent folder both with and without a slash, and I'm still getting this error. Thoughts?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

darcy-railip commented 7 years ago

Hey Ken, I included the command in my edited comment above - but turns out I realized the problem was that I was trying to copy a file when I can only copy paths over.

kpfaulkner commented 7 years ago

Currently there are bugs in the copying of single files. I should have that fixed in the next few days I hope. If you're on Windows you can use the original AzureCopy project ( https://github.com/kpfaulkner/azurecopy/releases/tag/1.4.1 ).

I'll update this ticket once I've fixed single blob copying here.