Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

Accessing Files on Remote Computer using C#

$
0
0

I have a remote server.

I have valid credentials to connect to it. (My local credentials are valid for remote server also.)

From a windows forms application in running in my pc I want to connect to the remote machine using my local credentials (as they are valid on remote server also) and access a drive in it and navigate to a folder and obtain names of all the files present it the folder.

For example:

RemoreServer\D-Drive:\sourcefolder\fileslist1.txt

RemoreServer\D-Drive:\sourcefolder\fileslist2.txt

RemoreServer\D-Drive:\sourcefolder\fileslist3.txt

Once i obtain this list Im using a grid view to show the names of these files.

Could someone guide me please.!

Thanks


Mourya


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>