Copy files over the network

M

Mark Goldin

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

Thanks
 
A

Arran Pearce

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

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top