how to access file from any drive at remote computer

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Sep 2007
Posts: 35
Reputation: manjusaharan is an unknown quantity at this point 
Solved Threads: 0
manjusaharan manjusaharan is offline Offline
Light Poster

how to access file from any drive at remote computer

 
0
  #1
Oct 1st, 2007
Hi All,
I m trying to access a file residing at c: drive from a remote computer by using RDC.
bt it is showing exception if i m using FileInfo() method for opening it.
help me in solving this problem.
Thanx in advance.
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 35
Reputation: manjusaharan is an unknown quantity at this point 
Solved Threads: 0
manjusaharan manjusaharan is offline Offline
Light Poster

Re: how to access file from any drive at remote computer

 
0
  #2
Oct 1st, 2007
Originally Posted by manjusaharan View Post
Hi All,
I m trying to access a file residing at c: drive from a remote computer by using RDC t access that computer.I m using c#.
bt it is showing exception if i m using FileInfo() method for opening it.
help me in solving this problem.
Thanx in advance.
I m trying to access a file residing at c: drive from a remote computer by using RDC t access that computer.I m using c#.
bt it is showing exception if i m using FileInfo() method for opening it.
help me in solving this problem.
Thanx in advance
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 2,065
Reputation: Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice 
Solved Threads: 256
Featured Poster
Ramy Mahrous's Avatar
Ramy Mahrous Ramy Mahrous is offline Offline
Postaholic

Re: how to access file from any drive at remote computer

 
0
  #3
Oct 1st, 2007
What's the exception please copy it here
BI Developer | LINKdotNET
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 35
Reputation: manjusaharan is an unknown quantity at this point 
Solved Threads: 0
manjusaharan manjusaharan is offline Offline
Light Poster

Re: how to access file from any drive at remote computer

 
0
  #4
Oct 3rd, 2007
System.NotSupprotedException:Given Path format is not supported.
System.Security.Util.StringExpressionSet.CanonicalizePath(String Path,Boolean NeedFullPath)
at
System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str ,Boolean NeedFullPath)
at
System.Security.Permissions.FileIOPermission.AddPathList(FileIOPErmissionAccess access,AccessControlAccess controls,String[] pathlistorig,Boolean checkforduopilcates,Bolean NeedFullPath,Boolean CopyPathList)
at
System.Security.Permissions.FileIOPermission.ctor(FileIOPErmissionAccess access,String[] pathlistorig,Boolean checkforduopilcates,Bolean NeedFullPath)
at
System.IO.FileInfo..ctor(String FileName)
at myfile.maxim()
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 2,065
Reputation: Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice 
Solved Threads: 256
Featured Poster
Ramy Mahrous's Avatar
Ramy Mahrous Ramy Mahrous is offline Offline
Postaholic

Re: how to access file from any drive at remote computer

 
0
  #5
Oct 3rd, 2007
can you please give me the path you access
BI Developer | LINKdotNET
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 35
Reputation: manjusaharan is an unknown quantity at this point 
Solved Threads: 0
manjusaharan manjusaharan is offline Offline
Light Poster

Re: how to access file from any drive at remote computer

 
0
  #6
Oct 3rd, 2007
in fact i got answer .
i made a silly mistake.
i didnt shared the folder that i want to access.
otherwise everything is right.
thanx for spending ur precious time in solving my problem
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 2,065
Reputation: Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice 
Solved Threads: 256
Featured Poster
Ramy Mahrous's Avatar
Ramy Mahrous Ramy Mahrous is offline Offline
Postaholic

Re: how to access file from any drive at remote computer

 
0
  #7
Oct 3rd, 2007
you're welcome, I got that but I was about to say did u share the folder?
BI Developer | LINKdotNET
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 1
Reputation: suresh_p is an unknown quantity at this point 
Solved Threads: 0
suresh_p suresh_p is offline Offline
Newbie Poster

Re: how to access file from any drive at remote computer

 
0
  #8
Aug 4th, 2008
Originally Posted by manjusaharan View Post
in fact i got answer .
i made a silly mistake.
i didnt shared the folder that i want to access.
otherwise everything is right.
thanx for spending ur precious time in solving my problem
Hi
Can u send me the code for that one
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC