Azure / azure-data-lake-store-net

Azure Data Lake Store .Net SDK
MIT License
18 stars 23 forks source link

AdlsClient.BulkDownload method returns with 'Access to path is denied' error #39

Closed sanshan20 closed 4 years ago

sanshan20 commented 4 years ago

AdlsClient.BulkDownload() method always returns with 'Access to path is denied' error, even when trying to save to the Users folder. I'm on Windows 10. I'm able to create a file with the FileStream class in the same application.

pjurri commented 4 years ago

I have the same issue:( can login/connect, EnumerateDirectory, create new folder, but when bulk down or upload i get the same messages. The issue is the local windows 10 path? How did you resolve this issue?

sanshan20 commented 4 years ago

I have the same issue:( can login/connect, EnumerateDirectory, create new folder, but when bulk down or upload i get the same messages. The issue is the local windows 10 path? How did you resolve this issue?

Hi, This issue is with the documentation. The description for parameter destPath says "Local destination path. It should always be a directory.", which is incorrect. For files you have to append the file name to the destination path. That fixed the issue for me.

Hope this helps.