ShareDirectoryClient - method to check Azure File share directory exists or not in python

Gopika Prasannakumar(UST,IN) 1 Reputation point
2021-10-23T06:20:46.067+00:00

I want to know before creating a parent directory in Azure file share in Storage explorer , weather it exists or not. The methods list_directories_and_files and get_directory_properties in ShareDirectoryClient will allow only after creating the parent directory which i dont want.

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

1 answer

Sort by: Most helpful
  1. Sumarigo-MSFT 47,021 Reputation points Microsoft Employee
    2021-10-25T08:33:56.583+00:00

    @Gopika Prasannakumar(UST,IN) Welcome to Microsoft Q&A Team, Thank you for posting your query here!
    Firstly, apologies for the delay in responding here and any inconvenience this issue may have caused.

    Unfortunately' No, also there is similar thread discussion in SO forum. Please refer to those suggestion.

    If you wish you may leave your feedback here, All the feedback you share in these forums will be monitored and reviewed by the Microsoft engineering teams responsible for building Azure.: https://feedback.azure.com/d365community

    Please let us know if you have any further queries. I’m happy to assist you further.
    Looking forward for your reply!

    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Please do not forget to 143296-image.png and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.]1


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.