Copy files over the network

  • Thread starter Thread starter Mark Goldin
  • Start date Start date
M

Mark Goldin

In general, can server side code copy files that it will create over the
network?

Thanks
 
Yes server side code can create, edit and copy files just like a windows
app can. However you have to remember that the ASP.NET page is (by
default) running as the ASP.NET user account. This user does not
normally have access to network locations or even many local locations.
So you have a few options,
1 - give ASP.NET user access to set files and folders and network
locations. This is not a good idea for security reasons.

2 - use impersonation
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top