如何扫描局域网中另一台PC上的文件夹内容 [英] How I can scan the contents of a folder on another PC in LAN

查看:148
本文介绍了如何扫描局域网中另一台PC上的文件夹内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I have an application that scans directories on my computer and displays its contents. From my computer I want to view the contents of another PC (Name: Remote1: 192.168.1.100) on my local network, what mechanism should be used: should implement a client-server FTP (because I also try to send content to the remote PC: Remote1) , WCF or other mechanism? please help





我尝试过:



参考截图:



http://i.stack.imgur.com/aqSbb.jpg



What I have tried:

screenshot of reference:

http://i.stack.imgur.com/aqSbb.jpg

推荐答案

您是否考虑过使用从(程序)机器到远程机器的映射网络驱动器?



- 在远程机器上你'分享'你希望提供的最高级别的驱动器/文件夹(请不要暴露c:\ windows,c:\\ \\ programfile文件,即任何需要保持私密/安全等的文件,都有一个单独的内容驱动器/文件夹

- 最好创建一个单独的帐户,并仅为该共享提供所需权限

- 然后使用来自'客户'/'程序'机器的unc路径或映射驱动器



这也有助于连接共享其他机器并在完成后断开共享 C#Map Network Drive(API) [ ^ ]



我带你去你的字当然两台机器都在同一个网络上,即地址为192.168.1.x - 否则可能会变得更加困难
have you thought about using a mapped network drive from your (program) machine to the 'remote' machine ?

- on the remote machine you 'share' the topmost level of drive/folder you wish to make available (please dont expose c:\windows, c:\program files ie anything that needs to remain private/secure etc, have a separate drive/folder for 'content'
- preferably create a separate account and give it required permissions to only that share
- then use either a unc path from the 'client'/'program' machine or map a drive

this is also good at helping to connect to shares on other machines and disconnecting the share when you're done with it C# Map Network Drive (API)[^]

Im taking you at your word of course both machines are on the same network, ie, have addresses 192.168.1.x - else it may get more difficult


这篇关于如何扫描局域网中另一台PC上的文件夹内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆