在Windows窗体应用程序中以C#上传音频文件.

问题描述:


我正在尝试使用Windows窗体应用程序中的c#从计算机上的任何位置制作一个简单的上载音频文件.它必须有一个文本框和一个上传按钮.我希望将文件存储在预先指定的目录中.我希望在其中存储文件(而不是用户要存储的位置)

在此先感谢

Hi,
I am trying to make a simple upload audio file from any location in my computer using c# in a windows form application. It has to have a textbox and a upload button. I want the files to be stored in a pre specified directory.inwhich i wish to store the files (Not where the user wants to store it)

thanks in advance

那么,出什么问题了?

现在,我看到一个刺眼的人.您要向客户端使用哪种应用程序级别协议以使他们上载文件? HTTP,FTP,TFTP,您自己的自定义协议?

这种小小的规范使您在获得答案的方向上与世隔绝.
So, what''s the problem??

Right now, I see one glaring one. What application level protocol are you going to explose to clients for them to upload files?? HTTP, FTP, TFTP, your own custom protocol?

That lilttle specification kind of makes all the difference in the world as to the direction of answers you''re going to get.