Hi Team,
I have a requirement to upload files to Azure File Storage. I used a file system and specified a path that includes the file, along with the credentials provided by our client’s infrastructure team.
When I upload a file, it is successfully uploaded, and our system is able to read it from the specified path. However, when I checked with the Azure team, the uploaded file does not exist in Azure. Additionally, files that were already in Azure (but not uploaded by our system) are not displayed in our read function, even though the path is the same.
I have two questions:
Looking forward to your response.
Hi Siva,
With those credentials you must have write access to the path you are writing the file to. Whether it's a virtual network path or a local disk doesn't matter.
Note that writing a file doesn't mean it's "uploaded". It's written, by IIS via Windows, to a network path. "Uploading" typically refers to passing the file to an API or using SFTP or the like.
You are writing that the file exists at the path, but isn't visible in Azure. That seems like a problem with whatever mechanism you employ to synchronize Azure with that path. This is completely out of scope of this component though, as you say the file is written just fine.
Your second question is better asked at the general forum, as it has nothing to do with this component.