I was looking through the azure file service apis for python and for rest but I didn't see a method to just move files. I would like to move files on azure file storage without mounting a network drive is there a way to do this?
Asked
Active
Viewed 750 times
1 Answers
0
As I know, your requirement couldn't be implemented directly. However you could use the combination of copy
and delete
API.
These are 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 answer.
If this couldn't meet your requirement or still have questions, please let me know.

George Chen
- 13,703
- 2
- 11
- 26
-
If my answer works ,could you accept my answer.Thanks. – George Chen Nov 14 '18 at 05:21
-
You incur significant write costs if you do this though. But if it's the only way then it's the only way. – Aaron Arima Nov 15 '18 at 03:35