I can not find the API for Node.js to copy everything in one fileShare to another fileShare in different storage account. Does anyone run into this problem before?
All I can find is the azCopy solution.
Thank you very much
I can not find the API for Node.js to copy everything in one fileShare to another fileShare in different storage account.
This is because no such API exists. Node SDK for Azure Storage
is a wrapper over Azure Storage REST API
and the REST API only supports copying files (neither directories nor shares)
.
What you would need to do is list all files from a share and then copy these files individually which is what azcopy does.