AzureStorageExplorer icon indicating copy to clipboard operation
AzureStorageExplorer copied to clipboard

The error message is confusing when pasting a deleted file between file shares

Open v-xianya opened this issue 7 months ago • 2 comments

Storage Explorer Version

1.39.0-dev (105)

Regression From

1.38.0

Architecture

x64

Storage Explorer Build Number

20250429.1

Platform

All

OS Version

Windows 11 arm64/Windows11 x64/Linux Ubuntu 22.04

Bug Description

The error message is confusing when pasting a deleted file between file shares.

Steps to Reproduce

  1. Launch storage explorer -> Go to 'Settings' -> Enable the setting 'Disable File Share Trailing Dot Support'.
  2. Expand one storage account -> File Shares.
  3. Create a file share and upload a file to it.
  4. Copy the file then delete the file.
  5. Create a folder in the same file share -> Open the folder -> Click 'Paste'.
  6. There is a failed activity log.
  7. Check whether the error message is correct.

Actual Experience

The error message is confusing. Image

Error details: Transfer of 'fs123/table1.csv' to 'fs123/New Folder/' failed: 0 items transferred, error: File/ Directory name: consists of only dots. Using --trailing-dot=Disable is dangerous here. Retry remove command with default --trailing-dot=Enable (used SAS, discovery not completed) Started at: 4/29/2025 8:26 AM, Duration: 2 seconds

Expected Experience

The error message is correct. Image

Additional Context

We did not verify this issue on Mac due to build failure.

v-xianya avatar Apr 29 '25 08:04 v-xianya

Verified this issue on Mac platform with build 20250506.1. Reproduce.

v-xianya avatar May 06 '25 02:05 v-xianya

This error stems from a difference in how AzCopy handles a CLI invocation of a copy job vs using Node.js's child_process module. A fix for this has been verified and will ship with AzCopy 10.30.0. Currently waiting for their 10.30.0 release.

richardMSFT avatar Jun 19 '25 16:06 richardMSFT