Click here to Skip to main content
15,896,201 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i want to access the image folder on remote desktop computer in c#. Image folder is on desktop of remote computer.please help me .

thanks
regards
joti parkash
Posted
Updated 12-Oct-17 15:42pm

There are two cases:
1.If the remote folder is in your local network (LAN), that folder must be shared in the LAN in the way that your user must have Read right to access it.

2.If the folder is over the internet, than that folder must be into a virtual-directory (in IIS) and has public access. For example if that folder is a sub-folder of a ASP.NET application then should have the next setting in the web.config to allow access:

XML
<!--
   Make Content folder accessible to all users!
  -->
  <location path="Content">
    <system.web>
      <authorization>
        <allow users="*" />
      </authorization>
    </system.web>
  </location>
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 13-Mar-14 2:35am    
Voted 4. There are many other ways to provide access to files, except IIS: any other HTTP server, active directory, FTP, and so on.
If you just explained that the ways you can suggest are not related to RDP, it would suffice.
—SA
Raul Iloc 13-Mar-14 2:40am    
You're right, but the question was related with C# and .NET, and in the Microsoft world the IIS is used.
Sergey Alexandrovich Kryukov 13-Mar-14 2:46am    
IIS? No. In Microsoft word, different things are used. I'm not sure, maybe Apache is more usual even on Microsoft. I mean, anyway, nothing makes an excuse for mentioning just IIS. And, more importantly, HTTP is not the only way.
—SA
I have a requirement that copying pdf files from local remote servers to in my computer .I have implemented application for that purpose when I am running the application in visual studio working properly pdf files getting from local remote server mission but when I am hosting this application in IIS and running then error comming that 'could not find path :Z://--------; actually I mapped the remote server drive in my local mission. Plz help me how to solve this
 
Share this answer
 
Comments
Richard Deeming 13-Oct-17 9:48am    
If you want to ask a question, then ASK A QUESTION[^]. DO NOT post your question as a "solution" to someone else's question!

But you're going to need to provide A LOT more information that that if you want anyone to be able to help you.

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