如何使用vb.net在lan中发送文件 [英] how send file in lan using vb.net

查看:72
本文介绍了如何使用vb.net在lan中发送文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我想问一个问题:
我如何使用vb.net2008或2005在lan中发送文件,请提供一些帮助,以便长时间搜索,但没有任何工作正常,请提供帮助.

解决方案

<这个问题还没有完全解决. 发送"是什么意思?基本上,这取决于您应该扮演服务器角色的另一部分.在所有情况下,您都可以将文件发送"到服务器部分.

如果FTP服务器正在运行,则需要使用System.Net.FtpWebRequest http://msdn .microsoft.com/en-us/library/system.net.ftpwebrequest.aspx [ http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.aspx [

—SA



经历这个-

使用Socket Application .NET 2.0进行文件传输 [ transfer-large-file-2gb-using-socket-in. html [ ^ ]


hey everybody,
i want to ask one question:
how i can send a file in lan using vb.net2008 or 2005 pllsss some help its long time im searching but dosn''t any thing work well,pleeessss some help

解决方案

The question is not fully formulated. What does it mean "send"? Basically, it depends on what do you have on the other part which should play a role of the server. In all cases, you will be able to "send" the file to the server part.

If the FTP server is running you would need to use System.Net.FtpWebRequest, http://msdn.microsoft.com/en-us/library/system.net.ftpwebrequest.aspx[^]. If the server simply use file sharing service and share the files, your client part can simply copy the file. If HTTP server is running, you can upload the file using System.Net.HttpWebRequest class, http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.aspx[^]. If a server computer runs some specialized service with possibility of sending files, you need to use its application-level protocol on the client side.

There is no such thing as "just send".

—SA


Hi,
Go through this-

File Transfer using Socket Application .NET 2.0[^]

transfer-large-file-2gb-using-socket-in.html[^]


这篇关于如何使用vb.net在lan中发送文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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