Skip to content
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

[Question] Copy fails from local files to azure file storage - 404 errors #74

Closed
Kapanther opened this issue Oct 8, 2018 · 1 comment

Comments

@Kapanther
Copy link

10.0.2 Preview - Win 7

Copy fails when I try a local file copy to-> azure file storage with the 10.0.2 preview. Works with current 8.1.0

this is the 8.1.0 line
azcopy /source:C:\GCDS_dev /dest:/https://azgcdsdevst1.file.core.windows.net/gcdsbuild/GQtest /DestKey:<retracted> /s /BlockSizeInMB:32

converted to 10.0.2 preview
azcopy copy C:\GCDS_dev https://azgcdsdevst1.file.core.windows.net/gcdsbuild/GQtest?<retracted_sas> --recursive=true --block-size=32

Results is all files fail with 404 errors in the log... any ideas?

RESPONSE Status: 404 The specified resource does not exist.
Content-Length: [223]
Content-Type: [application/xml]
Date: [Mon, 08 Oct 2018 14:18:06 GMT]
Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]
X-Ms-Error-Code: [ResourceNotFound]
X-Ms-Request-Id: [7ece6fe9-501e-0107-1c11-5f316f000000]
X-Ms-Version: [2018-03-28]
2018/10/08 14:18:07 JobID=5d651ae0-11f9-284d-4ea1-9e641861b502, Part#=0, TransfersDone=24 of 25
2018/10/08 14:18:09 ==> REQUEST/RESPONSE (Try=1/8.618s[SLOW >3s], OpTime=8.624s) -- RESPONSE SUCCESSFULLY RECEIVED
DELETE https://azgcdsdevst1.blob.core.windows.net/gcdstest2/GQtest/GCDS_dev/Plotters/PLT_CAN_Bdy.dwg?"retracted_sas"%3D&timeout=901
User-Agent: [AzCopy/v10.0.2-Preview Azure-Storage/0.1 (go1.10.3; Windows_NT)]
X-Ms-Client-Request-Id: [a661a951-830b-41ce-4a8a-7758ddfc5812]
X-Ms-Version: [2018-03-28]

@Kapanther
Copy link
Author

Resolved. The problem was actually the key. i didn't realise you need the full "Query String" to perform copy operations. Similar to below.

?sv=2018-03-28&si=gcdsbuild-16653BAF00A&sr=s&sig=<retracted_SAS>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant