Azure

  • 18 Dec

    Azure azcopy %1 is not a valid Win32 application

    azcopy %1 is not a valid Win32 application. System Error, Code: 193.

    We received feedback from a customer who was trying to use the Microsoft tool AzCopy v10.16.2 in our Azure as Destination, but couldn’t get it to work. He always received this ‘%1 is not a valid Win32 application’ error when trying. In our Azure as Destination we added the possibility to use AzCopy to do the actual transfer where we use the command line tool in the background to achieve this. The reason he got this error was because an empty file named ‘azcopy’ existed next to the actual command line tool ‘azcopy.exe’. So when we tried to use the command ‘azcopy copy …’ it tried to execute this empty file. In version v2023.0.12.18 we changed ‘azcopy copy …’ to ‘azcopy.exe copy …’ as command to eliminate this.

    This customer was also using a # in his filenames because of:  “the # characters are contained in the file name as it’s a documented standard file format ( NEM12 national energy market format)”.

    So we made another change in version v2023.0.12.18 which encodes the filenames in the AzCopy command since it seems AzCopy is not doing this automatically.

    #FileTransfer #azure #azcopy

    If you need any info about this ‘azcopy %1 is not a valid Win32 application’ error, please let us know.

    Best regards,

    Limagito Team

    By Limagito-Team Azure
  • 07 May

    Q&A 9: copy file into Azure storage container folder in LimagitoX File Mover

    Q: We are setting up a new rule and need to copy/move a file into a Azure BLOB storage container but into a folder in that container.  How can we do that?

    A: Please add your ‘Container Name’ in the Azure Destination setup:

    LimagitoX-Azure-Container-Setup

    Please add your folder as in the following screenshot:

    • Screenshot shows folder setup with creation of subfolders (%SFS) found in Source:

    LimagitoX-Azure-Container-Folder-Setup

    • Screenshot shows folder setup without creation of subfolders found in Source:

    If you need help, please let us know.

    Regards,

    Limagito Team

    By Limagito-Team Azure Q&A , ,
  • 02 May

    How-To use AzCopy to download files in LimagitoX File Mover

    Regarding version 2020.5.2.0. On request we’ve added an option to use the Microsoft azCopy command-line utility within LimagitoX File Mover.

    Feedback from customer:

    We’ve very recently been pushed to implement as Azure-based file transfer workflow for our remote users thanks to the pandemic.  I’ve found that Limagito’s existing Azure file transfer performance seems to be on-par with the Microsoft Azure CLI tools (e.g. az storage blob <command>), but extremely slow compared to the multi-threaded Microsoft AzCopy utility.  On a 10gbps end-to-end link, the difference between Limagito/Azure CLI vs. AzCopy is on the order of 300mbps vs. 9gbps+.

    This utility is available: here

    There is a 32 and 64 bit version. Search for ‘download links here’. Download and unzip, you’ll need this later. The version we are using in this example is 10.4.3.

    In this example we’ll use Azure as Source. The goal is to download Block Blob Files. Normally you only need to enter the Account Name and Key but because we are going to use AzCopy you also need to enter the SAS URI.

    We’ll be searching for files in the container named ‘test’.

    The AzCopy option is available under the ‘Advanced’ tab.

    • Enable ‘Use AzCopy’
    • Set the directory where we can find the AzCopy commande-line utility (azcopy.exe)

    About the SAS URI. You can find this in your Azure Storage Accounts setup. Don’t forget to adjust the ‘Start and expiry date/time’.

    SAS-URI

    Click <Generate SAS> and search the result for SAS-token. This is the one we need for our Azure as Source setup. Copy the complete token and paste this in our ‘SAS Uri ( sv=.. )’ field.

    SAS-URI-Token

    Result in RunTime Log:

    By default, the AzCopy log files are located in the %USERPROFILE%\.azcopy directory on Windows.

    i.e. C:\Users\YourUsername\.azcopy

    AzCopy-Log

    At this moment this new option can help you to:

    • Download Block Bobs from Azure
    • Download Page Blobs from Azure
    • Upload Block Blobs to Azure
    • Upload Page Blobs to Azure (VHD and VHDX files only)

    If you need any help please let us know. This is just a start. We are convinced quite some extra features can be added to this new option. Please let us know what you think.

    Regards,

    Limagito Team

SEARCH