远程SFTP申请 [英] Remoted SFTP application

查看:88
本文介绍了远程SFTP申请的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经构建了一个应用程序,该应用程序将在没有Internet访问权限的客户端计算机上运行,​​以便它可以远程调用另一台具有Internet访问权限的服务器来发送ftp文件。启用因特网的服务器正在运行服务以打开频道等。我可以跟踪远程处理工作正常并且频道正在获取请求,但似乎"发送"按钮。流程仍然是从客户端发生的。放入服务机器的主机文件条目未被使用。当我从服务器中删除并添加到客户端时,它确实被使用了。

这里发生了什么事情或这是正常的行为吗?非客户端服务器是执行网络操作的服务器吗?我是否遇到问题并且未正确调用远程处理?

感谢您的帮助。

I've built an app that will be running on a client machine that does not have internet access so that it can make a remoting call to another server that has internet access for sending ftp files.  The internet enabled server is running a service to open the channel, etc..  I can track that the remoting is working properly and the channel is getting the request, but it seems as though the "Send" process is still happening from the client.  A host file entry put onto the service machine did not get used.  When I removed from the server and added to the client it did get used.

Is something happening here or is this normal behavior?  Will the non-client server be the one performing the network operations?  Am I just having a problem and remoting is not correctly being invoked?

Thanks for your help.

推荐答案

您确定自己的远程对象派生自MarshalByRef?
如果没有,则对该对象的任何调用都将在客户端而不是在服务器上进行。
Have you made sure that your remote object derives from MarshalByRef?

If it doesn't, then any calls to that object will happen on the client and not on the server.


这篇关于远程SFTP申请的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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