Git Product home page Git Product logo

Comments (8)

zezha-msft avatar zezha-msft commented on July 29, 2024

Hi @Jogai, thanks for reaching out! We’ll investigate and get back to you shortly.

from azure-storage-azcopy.

Jogai avatar Jogai commented on July 29, 2024

Much appreciated

from azure-storage-azcopy.

jvallery avatar jvallery commented on July 29, 2024

Jogai - This looks to me like you're using the GA'ed azcopy (v8.1) and not the one covered in this repo? We should still help but just making sure you're not testing out v10?

from azure-storage-azcopy.

Jogai avatar Jogai commented on July 29, 2024

Correct. I'm happy to try v10 if I could find the download...

AzCopy 8.0.0-netcorepreview Copyright (c) 2018 Microsoft Corp. All Rights Reserved.

from azure-storage-azcopy.

Jogai avatar Jogai commented on July 29, 2024

Sorry, was using an older version indeed. The latest version I see onlin is

AzCopy 8.1.0-netcore Copyright (c) 2018 Microsoft Corp. All Rights Reserved.

But the latest version does give the same result

[2018/08/24 01:43:43.055+02:00] >>>>>>>>>>>>>>>>
[2018/08/24 01:43:43.227+02:00][VERBOSE] Finished: 0 file(s), 0 B; Average Speed:0 B/s.
[2018/08/24 01:43:43.414+02:00][VERBOSE] 8.1.0 : AzCopy /@:C:\inputParams.txt /Pattern:*.PNG /V:C:\png-cap.log
[2018/08/24 01:43:43.867+02:00][VERBOSE] Attempt to parse address 'E:\RootPath' to a directory as a candidate location succeeded.
[2018/08/24 01:43:43.867+02:00][VERBOSE] Source is interpreted as a Local directory: E:\RootPath\.
[2018/08/24 01:43:43.945+02:00][VERBOSE] Attempt to parse address 'https://blip.blob.core.windows.net/root/' to a directory as a candidate location succeeded.
[2018/08/24 01:43:44.007+02:00][VERBOSE] Attempt to parse address 'https://blip.blob.core.windows.net/root/' to a single file location failed: Invalid location 'https://blip.blob.core.windows.net/root/', cannot get valid account, container and blob name.
[2018/08/24 01:43:44.007+02:00][VERBOSE] Destination is interpreted as a Cloud blob directory: https://blip.blob.core.windows.net/root/.
[2018/08/24 01:43:48.188+02:00][VERBOSE] Finished: 0 file(s), 0 B; Average Speed:0 B/s.
[2018/08/24 01:43:50.918+02:00] Transfer summary:
-----------------
Total files transferred: 0
Transfer successfully:   0
Transfer skipped:        0
Transfer failed:         0
Elapsed time:            00.00:00:08

And I'm sure the files do exist...

from azure-storage-azcopy.

seguler avatar seguler commented on July 29, 2024

@EmmaZhu for azcopy v8

from azure-storage-azcopy.

EmmaZhu avatar EmmaZhu commented on July 29, 2024

@Jogai
I just tried to upload files with extension ".TXT" and ".txt" with following command successfully:
AzCopy.exe /source:AzCopySourceFolder /dest:http://myaccount.blob.core.windows.net/container1 /destkey:*** /pattern:*.TXT

From the command line you shared, could you check whether there's file with exact the same name on destination which has newer last modified time? It might have been filtered out for /XO option.

from azure-storage-azcopy.

Jogai avatar Jogai commented on July 29, 2024

Sorry, logical error on my part.

I made a script that outputted my parameter files and the commands I needed to run. It ouputs the file types I want to copy in a azcopy statement, ordered by how many files there are with an extension. For png files it gives me this:

.\AzCopy.exe /@:"C:\Path\inputParams.txt" /Pattern:"*.png" /V:"C:\LogPath\png-270560.log"

.\AzCopy.exe /@:"C:\Path\inputParams.txt" /Pattern:"*.PNG" /V:"C:\LogPath\PNG-109203.log"

I always have more files with normal lowercase extension, and that command does copy the uppercase ones as well... Then the uppercase command is run, but because of the XO parameter the files are skipped indeed.

If I look in my log files the count is indeed the sum for both (the file names of the actual log do have the number of files per extension in them).

Thanks for pointing me in the right direction!

Edit: in my defense it was over a million blobs, over 54 GB of data, so I didn't go in there to check a specific file on a specific location....

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.