如何从Web服务器将文件下载到本地客户端机器
问题描述:
我现在要在Web应用程序中将音频文件上传到Web服务器,我想在网页上播放该文件,因为我使用HTML对象播放此播放器的音频文件,而该播放器需要音频文件的路径,我正在尝试在以下位置下载音频文件从服务器的客户端,然后我试图将下载的文件的路径提供给我的音频播放器,但是如果文件被下载无法播放,我也无法从Web服务器下载文件.请有人回答我.在此先感谢.
谢谢
Amol Gunjal
Hi,
I am uploading audio file to my web server now in my web application i want to play that file on web page for that i used HTML OBJECT to play audio file for this player need path of an audio file i am trying to download audio file at client side from server and then i trying to give path of that downloaded file to my audio player but i can not download file from web server also if file was downloaded it can not played.Please any one has answer reply me. thanks in advance.
Thanks
Amol Gunjal
答
尝试一下:
简单的ASP.NET 2.0/C#MP3播放器
[ ^ ]
希望对您有所帮助:)
Try this:
Simple ASP.NET 2.0/C# MP3 Player
[^]
hope it helps :)