Moving Files
-
Hi, what is the process for moving files over servers. i have used System.IO class File.Move. when i am trying to move files i am getting error as (Access to the path is denied).
The error is a clue: run as an account that has permission to move to the target directory (and permission to delete from the current one, for that matter.)
The enemy of my enemy of my enemy of my enemy is Kevin Bacon. My Mu[sic] My Films My Windows Programs, etc.
-
Hi, what is the process for moving files over servers. i have used System.IO class File.Move. when i am trying to move files i am getting error as (Access to the path is denied).
have a read of this ASP.NET Impersonate user example[^]
As barmey as a sack of badgers Dude, if I knew what I was doing in life, I'd be rich, retired, dating a supermodel and laughing at the rest of you from the sidelines.
-
have a read of this ASP.NET Impersonate user example[^]
As barmey as a sack of badgers Dude, if I knew what I was doing in life, I'd be rich, retired, dating a supermodel and laughing at the rest of you from the sidelines.
-
hi simon, i have used this impersonation, but we can only have one impersonated user in our web.config file. my problem is i have to move the files through almost five servers, at this point i am getting the error.
Can you use the same username password combination for all 5 servers? As all they need to the relevant file access rights
As barmey as a sack of badgers Dude, if I knew what I was doing in life, I'd be rich, retired, dating a supermodel and laughing at the rest of you from the sidelines.