Azure Storage Explorer not downloading or previewing certain files

BACKER,RUSSELL (Agilent USA) 0 Reputation points
2024-11-20T13:43:44.4266667+00:00

I have compressed syslog files sent to a blob. The content type is application/octect-stream. I cannot download them from Storage Explorer I get the following error message.

Transfer of 'syslog-test/syslog/PAN/pan:traffic/2024/11/20/cvl-plsxpan01.ns.agilent.net/pan:traffic-1C6q4u.0.json.gz' to 'C:\Users\rubacker\AppData\Local\Temp\17321094721011' failed: 0 items transferred (used SAS, discovery completed) Started at: 11/20/2024 6:31 AM, Duration: 5 seconds

I can go to the portal and download the files with no issues.

Azure Storage Explorer
Azure Storage Explorer
An Azure tool that is used to manage cloud storage resources on Windows, macOS, and Linux.
268 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Sina Salam 13,371 Reputation points
    2024-11-20T19:23:17.3033333+00:00

    Hello BACKER,RUSSELL (Agilent USA),

    Welcome to the Microsoft Q&A and thank you for posting your questions here.

    I understand that your Azure Storage Explorer not downloading or previewing certain files.

    These are a few steps you can try to resolve this:

    1. Make sure that the SAS token you're using has the correct permissions for downloading the files. It should have at least read (r) and list (l) permissions.
    2. Make sure you are using the latest version of Azure Storage Explorer. Sometimes, updating to the latest version can resolve unexpected issues.
    3. Verify that there are no network issues or restrictions that might be affecting the download process. Sometimes, network configurations can block certain types of traffic.
    4. he error message mentions a long file path. Ensure that the total path length does not exceed the maximum limit for your operating system.
    5. If the issue persists, you might want to try using a different tool or method to download the files, such as Azure CLI or PowerShell.
    6. Look at the logs in Azure Storage Explorer for more detailed error messages that might give you a clue about what's going wrong.

    If none of these steps resolve the issue, I will advise you might need to reach out to Azure support for more detailed assistance.

    I hope this is helpful! Do not hesitate to let me know if you have any other questions.


    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.

    0 comments No comments

  2. M A Nakib 101 Reputation points
    2024-11-22T14:28:10.6466667+00:00

    It sounds like you're encountering an issue with downloading files from Azure Storage Explorer due to the content type being set to application/octet-stream. This can sometimes cause problems with certain tools or applications.

    Here are a few steps you can try to resolve this issue:

    1. Update Azure Storage Explorer: Ensure you are using the latest version of Azure Storage Explorer. Sometimes, updating the tool can resolve unexpected issues.
    2. Set the Correct Content Type: You can manually set the content type of the blobs to a more appropriate type (e.g., application/json for JSON files) using the Azure portal or a script. This can help avoid issues with downloading and processing the files.
    3. Use AzCopy: AzCopy is a command-line tool that can be used to copy blobs or files to and from Azure storage. It might handle the content type issue better. You can download AzCopy and use it to transfer your files.
    4. Check SAS Token Permissions: Ensure that the SAS token you are using has the correct permissions to download the files. Sometimes, insufficient permissions can cause transfer failures.
    5. Try Different Tools: If the issue persists, you might want to try using different tools like Azure CLI or PowerShell to download the files.

    If you continue to experience issues, you can refer to the Azure Storage Explorer documentation or seek further assistance from the Azure support team.

    Let me know if you need more detailed guidance on any of these steps!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.