I'm working on a requirement where I need to read and process CSV files on Azure File share via a C# console app. Once the file is processed, I need to move it to Archived folder, and in case of errors move it to Error folder, The fileshare structure is as below:
csvfileshare --> Name of the fileshare on Azure under the storage account. This contains the .CSV files(csvfileshare/demo.csv) csvfileshare/Archived --> Name of dir/folder under csvfileshare where the files should be moved if successful csvfileshare/Error --> Name of dir/folder under csvfileshare where the files should be moved if file has errors
Can you please guide me on how this can be achieved in C# console application, I've got to the point where I'm able to read the file from Azure fileshare into the console app and process them, but unable to move it to one of these directories post the processing.
Thanks!