Click here to Skip to main content
15,889,527 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using vb 2005.
I am trying to upload a file to a server.

server name is i.e. MyServer and in d drive there is xdir directory, in that directory there is udir.

I have permision in MyServer but there is no share

\\MyServer --> permission
\\MyServer\d$ --> no permission
\\MyServer\d$\xdir --> no permission
\\MyServer\d$\xdir\udir --> full permission

I want to upload to that folder but I got access denied while using My.Computer.Network.UploadFile command.

How can I upload files to that directory?

There is about 100 people using this server(MyServer). Everyone has admin priviledges on uDir, so anyone exploring uDir can delete any files as they wish.

This is the problem with sharing the folder uDir. We dont need direct access from MyServer, that is because no permission on d$ drive and xDir folder, but have full permission on uDir.

Can I do it with adjusting permissions?
Or any ideas about uploading files to uDir?
Posted
Updated 13-Sep-10 21:27pm
v4
Comments
Dalek Dave 14-Sep-10 3:27am    
Edited for Grammar and Readability.

Ok you are right but there is one problem with sharing
there is about 100 people using this server(MyServer). Everyone has admin priviledges on uDir. So anyone exploring uDir can delete any files as they wish... This is the problem with sharing the folder uDir. We dont need direct access from MyServer... that is because no permission on d$ drive and xDir folder but have full permission on uDir.
can i do it with adjusting permissions??? Or any ideas about uploading files to uDir?
 
Share this answer
 
No solution? There should be a way doing so!
There is persist upload dll working in server...
Can i use that dll in order to upload???
 
Share this answer
 
AFAIK, For accessing any drive like D$ or E$, you need to have admin priviledges on that system.

Try folder shared directly instead of accessing the drive first.
Like:
\\MyServer\uDir
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900