|
-
May 4th, 2009, 10:42 AM
#1
How to access local folders when code is runned from a network share
Hi, I'm running an application from a network share, this application then try to verify if the path "C:\\temp" exist and return true or false.
If the code is runned localy, there's no problem. If it's runned from a network share, I get the result false, even if the folder exist localy.
The code is C# on framework 2.0
Thank you
-
May 5th, 2009, 09:33 AM
#2
Re: How to access local folders when code is runned from a network share
As my understanding, there is not difference once you can run the app. the thing is which computer you are running the app, if there is "C:\temp" on the computer, if your user id has access right to the directory. Just do a test:
the app is definitely running on your computer becuase you use your computer to develop it. Now copy the app to a shared drive and then run it on your computer. It should work.
The difficulty is that you have no idea how difficult it is.
.Net 3.5/VS 2008
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|