What is the value of txtTarget.Text when you save the file?
The browser will understand many image formats automatically by the binary contents of the file. I'm not sure about PDF (unless the extension is specified).
After the file is uploaded is the file extension of the uploaded video "avi"? If so, then the client should be able to handle it whether the browser can play/show it or it can hand off the downloaded file to the appropriate helper application (media player). If not, then that's probably the problem.
-
Peter