microsoft / AzureStorageExplorer

Easily manage the contents of your storage account with Azure Storage Explorer. Upload, download, and manage blobs, files, queues, tables, and Cosmos DB entities. Gain easy access to manage your virtual machine disks. Work with either Azure Resource Manager or classic storage accounts, plus manage and configure cross-origin resource sharing (CORS) rules.
Creative Commons Attribution 4.0 International
370 stars 85 forks source link

ASE vs ADLS Gen2 - Popup or valid message should be displayed while uploading/downloading a file, if it is exists in the destination already #1231

Open apsarpasha opened 5 years ago

apsarpasha commented 5 years ago

Storage Explorer Version: In which Storage Explorer version was the bug encountered? 1.6.2 Platform/OS: Linux Ubuntu? macOS High Sierra? Windows 10? Windows 10 Architecture: i86? x64? x64 Regression From: Was this working in a previous version? If so, which one?

Bug description A clear and concise description of what the bug is. When I tried to download/Download a file using storage explorer from the “general purpose v2” storage account, if file already exists in the destination, then I’m getting below message. Based on the input (Yes/No) it performing the operation. image

However, If I perform same operation on ADLS gen2 storage account, and If file exists in the file system or Local path, explorer is not showing above message, instead it showing below message with error icon.

image

Steps to Reproduce

  1. List the minimal steps required to reproduce the bug.

  2. Be as clear and concise as you can.

Expected Experience A clear and concise description of what you expected to happen. If applicable, add screenshots to help explain what you expected.

  1. Storage Explorer should ask for similar message, whenever upload/download same file from the ADLS Gen2 file system.
  2. Storage Explorer . It should display some valid message ( Could not upload/Download as file is already present in destination) with Information Icon rather than error icon.

Actual Experience A clear and concise description of what actually happens. If applicable, add screenshots to help explain what actually happened.

Additional Context Add any other context about the problem here, such as unusual system configurations, network restrictions, etc.

MRayermannMSFT commented 5 years ago

Hi @apsarpasha , thanks for the feedback! We also agree that the behavior you suggest would be the ideal. We're currently waiting on AzCopy to add the ability for us to intercept conflicts before they happen so we can prompt you (the user) on whether or not to overwrite or skip.

gauravkhuraana commented 5 years ago

By when we can get this feature. It waste lot of time. to go back to folder and delete the existing file.

jinglouMSFT commented 5 years ago

@gauravkhuraana the AzCopy team has committed to add the asks from our team. Once it's done, we will integrate the feature into Storage Explorer. Thanks for your feedback.