简体   繁体   中英

Retrieve list of files from remote server A from different server B

我试图从一些远程服务器获取文件详细信息列表,这与我执行exe的服务器不同。

Server.Path(servername + "d:\foldername\")

You have different possibilities:

  1. Write a web service application you call from your exe running on server B.
  2. If you're running on a domain, you might create a share on server B and accessing it using \\\\serverb\\sharename This would allow for integrated security using Windows users

Depending on what other functionality you want to add later and the sensitivity of the data, there is an implication on security.

FTP是另一种选择(如果在远程服务器上启用)。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM