以WIN形式下载和上传C#文件 [英] Download and upload files in C# in WIN forms

查看:46
本文介绍了以WIN形式下载和上传C#文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要有关C#Win表单中的UPLOAD和DOWNLOAD FILE的小例子.上传或下载文件后,其中一个按钮和一个文本框就会显示在该文本框中

非常感谢.

Vijay Patel

I need small example on UPLOAD AND DOWN LOAD FILE IN C# Win forms. which has one button and one text box once you upload or down load file show up in that text box

Thank you very much.

Vijay Patel

推荐答案

对于常见任务,请使用System.Web.WebClient
For common tasks you use System.Web.WebClient


找到的如何在VB.NET中将文件上传到WebDAV服务器 [通过Visual Basic 2005 Web服务上传任何文件类型 [ FtpClient类和WinForm控件 [将VB.NET转换为C# [
Found similar question[^] on somewhere & TheBinaryDigit is right.

Also found these in CP.
How to Upload a File to a WebDAV Server in VB.NET[^]
Upload Any File Type through a Visual Basic 2005 Web Service[^]

And also this

An FtpClient Class and WinForm Control[^]

EDIT
-----------------------------
For code conversion use this
Convert VB.NET to C#[^]


这篇关于以WIN形式下载和上传C#文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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