Azure SFTP, can delete directories but not files

Johan Groenewald 146 Reputation points
2022-07-06T10:54:29.947+00:00

Afternoon All,

I have a weird issue currently on Azure storage and the relating SFTP function.

Connecting to it is fine and worked wonders. Today I logged in via Filezilla and tried deleting a file and was met with "no such file or directory".

I can create directories and delete them, I can create files, I can't delete those files.

Anyone got any ideas?

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,369 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sumarigo-MSFT 47,486 Reputation points Microsoft Employee
    2022-07-06T13:45:04.067+00:00

    @Johan Groenewald @Werner de Bruin Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    We are aware of this issue, again thanks for reporting the issue The fix has already been made, it will be released very soon.

    In the meantime, they have a few options:

    1. Disable soft delete for blobs on the account. This will allow deleting files via SFTP.
    2. Delete the blobs with another protocol, such as REST.

    Please let us know if you have any further queries. I’m happy to assist you further.

    ----------

    Please do not forget to 218262-screenshot-2021-12-10-121802.png and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Johan Groenewald 146 Reputation points
    2022-07-06T17:57:08.9+00:00

    @Sumarigo-MSFT Thanks for getting back to us. It would seem the temporary fix did it as @Werner de Bruin tested the removal of the soft delete feature.
    We appreciate the feedback and assistance.

    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.