microsoft / microsoft/AzureStorageExplorer

Cannot upload a folder of symlinks to a blob container

Open
#4,131 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

:gear: azcopy
Dominant language
No language data
Stars
452
Forks
92
Avg merge
15h 20m
Merged PRs (30d)
3

Description

Storage Explorer Version: 1.17.0
Build Number: 20201211.10
Platform/OS: Windows 10 Pro
Architecture: i86

Bug Description

I cannot upload a folder containing just symlinks from my computer to the Azure Storage blob container. The upload is shown as finished successfully (green tick).

Steps to Reproduce

  1. Create a folder on your computer and put one or more symlinks to it (using the mklink command).
  2. Open a blob container in the Azure Storage Explorer.
  3. Drag the local folder into the Azure Storage Explorer window.

Expected Experience

The folder and all the linked files should be uploaded to the Azure storage (or an error should be shown if this is not supported).

Actual Experience

Nothing is uploaded. In the Activities section, the upload is marked as successful (green tick). The following message is shown:

Transfer of 'D:\path\subfolder-with-symlinks\' to '$web/designated-superfolder/' complete: 0 items transferred (used SAS, discovery completed)
Started at: 24. 2. 2021 10:41:45, Duration: 2 seconds

Additional Context

I’ve tried to drag from Explorer and Total Commander – no difference observed.

If I add a regular file into the folder to upload, then the folder is created on Azure and just this file is uploaded.

If I directly drag the symlink to the Azure Storage Explorer window, the linked file is uploaded.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the upload using a Windows folder containing only symlinks, then inspect the Azure Storage Explorer upload activity and transfer-discovery path. Done means linked files are uploaded from symlink-only folders, or the operation reports that this case is unsupported instead of claiming success with zero items.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.