This project is read-only.

System.UnauthorizedAccessException Access to the path is denied

Apr 27, 2011 at 3:47 PM

Hi,

I am using your library to dowload files from an ftp site to my local machine.

However, I get an error when I use the GetFile() method. The error is as follows:

System.UnauthorizedAccessException Access to the path 'C:\\apt\\download' is denied.

The {MACHINE}\ASPNET user account has full access rights as well as the IUSR_MACHINENAME user account.

I am not sure how to resolve this error.

Thanks in advance for your help.

Rina