在窗口窗体应用程序中使用C#上传和下载音频文件 [英] upload and download a audio file using C# in window form application

查看:404
本文介绍了在窗口窗体应用程序中使用C#上传和下载音频文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hai,
我的Windows应用程序中有一个音频文件.我的问题是如何在Windows窗体中上载和下载.我的意思是任何控件,例如Web应用程序中的Fileupload Control.

hai,
I have an audio file in my windows application. my problem is how it upload and download in a windows form . I mean any control like Fileupload Control in Web application.

推荐答案

如果要上传到网站,则必须使用.Net HttpWebRequest对象.如果要通过FTP传输,则必须使用.Net FTPWebRequest类(或类似的类). Google是您的朋友.

顺便说一句,在CodeProject上有一篇文章讨论了FTP方法:

C#FTP客户端库 [
If you want to upload to a web site, you have to use the .Net HttpWebRequest object. If you want to transfer via FTP, you have to use the .Net FTPWebRequest class (or something similar). Google is your friend.

BTW, there''s an article here on CodeProject that discusses the FTP approach:

C# FTP Client Library[^]


这篇关于在窗口窗体应用程序中使用C#上传和下载音频文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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