brian rubin

brian rubin

  • NA
  • 1
  • 0

Uploading .WAV Files In ASP.NET

Apr 11 2013 5:06 PM
Hi everyone - I have a question for the group.

I have a C# asp.net 4.0 web application that uses a file upload server control - the user clicks the browse button, selects a .wav file from the location of their choice, and then the user clicks the Save button to upload the .wav file to a folder on the web server. However, even though the file that is uploaded always appears on the web server and in the correct format (and no exceptions are generated), the length of the file is always 0 bytes in the upload folder on the web server (even though the uploaded file has a length > 0). There are no issues with .doc files, but .wav files are not working.

Why would this be happening? Is there an IIS 7 setting that needs to be configured? Does anyone have a sample of uploading a wav file to a web server with asp.net?

Thanks,
Brian