Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB7.x
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 13-Sep-10 4:24am
Edited 13-Sep-10 22:27pm
v4
Comments
Dalek Dave at 14-Sep-10 3:27am
   
Edited for Grammar and Readability.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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?
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

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???
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 200
1 Kamal Rocks 184
2 PIEBALDconsult 150
3 BillWoodruff 148
4 Jochen Arndt 135
0 OriginalGriff 5,695
1 DamithSL 4,506
2 Maciej Los 4,007
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,190


Advertise | Privacy | Mobile
Web04 | 2.8.141216.1 | Last Updated 14 Sep 2010
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100