Git Product home page Git Product logo

Comments (3)

jiacfan avatar jiacfan commented on July 29, 2024

Hi, @seguler

Thanks for reporting the issue.

I tried to repro the issue with latest release using following commands, and all of them work fine:
a. .\azure-storage-azcopy.exe copy "https://jiacstgwestcentralus01.blob.core.windows.net/aaaaaa/Test.pdf" "c:\test"
b. .\azure-storage-azcopy.exe copy "https://jiacstgwestcentralus01.blob.core.windows.net/aaaaaa/Test.pdf" "./test.pdf"
c. .\azure-storage-azcopy.exe copy "https://jiacstgwestcentralus01.blob.core.windows.net/a/b/c/Test.pdf" "c:\test"

Would you please help to provide a repro configuration or check if myfile1 actually became a virtual directory after some pre operations?

Thanks,
Jiachen

from azure-storage-azcopy.

mvrequa avatar mvrequa commented on July 29, 2024

I'm experiencing a similar issue with oauth on linux.

[admin@ip-0A05000B ~]$ azcopy login
To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code BLC4LFLT9 to authenticate.
Login succeeded.                 
[admin@ip-0A05000B ~]$ azcopy cp "https://requawestus2.blob.core.windows.net/cyclecloud/projects/ad/1.0.0/manifest.json" /shared/home/admin/manifest.json
Scanning...
Using OAuth token for authentication.

failed to perform copy command due to error: cannot start job due to error: the destination must be an existing directory in this download scenario.


[admin@ip-0A05000B ~]$ azcopy cp "https://requawestus2.blob.core.windows.net/cyclecloud/projects/ad/1.0.0/manifest.json?sp=r&st=2018-11-13T03:37:51Z&se=2018-11-13T11:37:51Z&spr=https&sv=2017-11-09&sig=2%2F4PbN0UErmhyA%2F3%2BiqaMgrH%2F5gQzs2rUz1zTyqrl6Q%3D&sr=b" /shared/home/admin/manifest.json
Scanning...

Job bddc3118-5a3e-3b44-6c a-95d1dc983a36 has started

Log file is located at: /shared/home/admin/.azcopy/bddc3118-5a3e-3b44-6c a-95d1dc983a36.log
0 Done, 0 Failed, 1 Pending, 0 Skipped, 1 Total

OAuth doesn't work for a single file - this I see on OSX as well.

from azure-storage-azcopy.

seguler avatar seguler commented on July 29, 2024

The destination directory must be pre-created. This is inline with other copy tools you'd use on Windows and Linux.

Create it via
mkdir -p /shared/home/admin/

from azure-storage-azcopy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.