[英]How to move or copy a file/directory from my computer to ather computer?
I have a program in C# which i can move and copy files and directories by compress or by not compress between two path in a computer, but i want to do this between two computer. 我在C#中有一个程序,可以通过压缩或不通过压缩在计算机的两个路径之间移动和复制文件和目录,但是我想在两台计算机之间进行此操作。 I want to use as target path of other computer's driver. 我想用作其他计算机驱动程序的目标路径。 How can i do this? 我怎样才能做到这一点?
Thanks for your helps, 谢谢你的帮助
Theres a couple of ways you could do this, 您可以通过几种方法来做到这一点,
FTP
Server on the other side using a FTP component 使用FTP组件在另一侧设置FTP
服务器 UNC
Path 使用UNC
路径直接连接到另一台计算机 SCP
style system if the machine is a unix box 如果机器是unix盒子,请使用SCP
风格的系统 I would strongly recommend using a pre-existing protocol though, such as FTP, that way you can re-use libraries and it promotes inter-op with other programs. 我强烈建议您使用一个预先存在的协议,例如FTP,这样您就可以重用库,并且它可以促进与其他程序的互操作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.