文件从一个系统传输到另一个系统 [英] File transfer from one system to another system

查看:230
本文介绍了文件从一个系统传输到另一个系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我在系统中维护一个特定的文件,我想使用自己的IP地址将我的文件传输到另一个系统。



i希望将服务器和客户端代码放在我的系统本身相同的位置。





请给我一个代码任何人,套接字编程。

Hi,

I maintaining a particular file in my system, i want to transfer my file to another system, using its own IP address.

i want to put both server and client side code in same my system itself.


Kindly give me a code anybody, socket programming too.

推荐答案

你所要做的就是使用 File.Copy 。当然,您需要在其他计算机上具有相应的权限才能将文件复制到共享文件夹。
All you have to do is use File.Copy. Of course, you need the appropriate permissions on the other machine to copy a file to a shared folder.


这可以帮助您了解



将文件从一台服务器传输到另一台服务器 [ ^ ]
May this will help u out

To transfer files from one server to another[^]


这篇关于文件从一个系统传输到另一个系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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