使用lan连接传输文件 [英] transfer file using lan connection

查看:154
本文介绍了使用lan连接传输文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用c#编码将一个文件从一台计算机发送或传输到另一台计算机如何工作我想要清晰的屏幕截图想法对我来说非常紧迫

解决方案

如果它在局域网上,最简单的方法是在目标计算机上以完全写入权限共享文件夹,并使用

 File.Copy( @  C:\ Temp \ MyFile.txt @ < span class =code-string> M:\ MyFile.Txt); 



如果这不合适,那么就个人而言,我会可能使用 FtpWebRequest类 [ ^ ]


< blockquote>这些是给你的..

http://innodesign.wordpress.com/2010/07/13/file-transfer-using-c/ [ ^ ]

http://www.nullskull.com/q/10295915/transfering-files- and-folders-on-lan.aspx [ ^ ]


how to send or transfer one file from one computer to another computer using c# coding how it is work i want clear screen shot idea pls it s very urgent to me

解决方案

If it's on a lan, the simplest method is to share a folder on the destination computer with full write permissions, and just use

File.Copy(@"C:\Temp\MyFile.txt", @"M:\MyFile.Txt");


If this isn't suitable, then personally, I would probably transfer it via FTP using the FtpWebRequest class[^]


These are for you..
http://innodesign.wordpress.com/2010/07/13/file-transfer-using-c/[^]
http://www.nullskull.com/q/10295915/transfering-files-and-folders-on-lan.aspx[^]


这篇关于使用lan连接传输文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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