有没有一种方法可以仅使用其余 API 或 python API 在 Azure 文件存储中移动文件

Is there a way to move files in azure file storage using only the rest APIs or python APIs

我正在查看 python 和休息的 azure 文件服务 api,但我没有看到仅移动文件的方法。我想在不安装网络驱动器的情况下移动 Azure 文件存储上的文件,有没有办法做到这一点?

据我所知,您的要求无法直接实现。但是,您可以使用 copydelete API.

的组合

这些是copy and delete API of REST.And this part is about copy and delete API of python.And an Azure Storage File is an SMB-compatible share, so you should be able to make files copies with normal file I/O operations.You could refer to this

如果这不能满足您的要求或仍有疑问,请告诉我。