访问远程PC信息并在PC上更新数据 [英] Accessing remote pc information and update data on pc

查看:52
本文介绍了访问远程PC信息并在PC上更新数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在尝试从asp.net应用程序访问远程PC.我正在尝试从asp.net应用程序更新/存储PC上的文件.
如何访问远程PC数据以及如何更新远程PC上的文件?
(远程PC-Windows Server Express R2服务器)
我正在尝试使用此链接:http://msdn.microsoft.com/zh-cn/library/ms257337%28v=VS.80%29.aspx
在这里我得到了例外:ManageScope connect()方法的参数无效.

还有其他方法可以连接到远程PC吗?!!!

Hi ,

I am trying for a remote pc accessing from asp.net application. I am trying to update/store file on pc from asp.net application.
How to access remote pc data and how to update the file on remote pc?
(Remote pc - Windows server express r2 server)
I am trying with this link : http://msdn.microsoft.com/en-us/library/ms257337%28v=VS.80%29.aspx
Here I got exception : Invalid parameter for ManageScope connect() method.

Is there any other way to connect to remote pc please help.!!!

推荐答案

当您只需要更新远程计算机上的文件时,就可以在远程计算机上配置共享,然后从asp.net环境连接到该共享.

更好的方法是在远程计算机上创建自托管wcf服务,并通过wcf将更新所需的数据发送到远程.


问候
Piet
When you''re requirement just is update a file on a remote computer you can configure a share on the remote machine and connect to that share from your asp.net environment.

A better approach would be to create a self hosting wcf service on the remote machine and send the data needed for the update to the remote over wcf.


Regards
Piet


我在远程计算机上配置了IIS,并编写了一个简单的WCF服务,该服务接受文件字节并将字节转换为所需的格式文件.

这对我来说很完美.

谢谢,
阿维纳什(Avinash)
I configured IIS on the remote machine, and I wrote a simple WCF service which accept the file bytes and convert the bytes to required format file.

This is working perfect for me.

Thanks,
Avinash


这篇关于访问远程PC信息并在PC上更新数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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