Can't you use pure javascript for this? That will be lot better I think. If you want to use C# for this, the TimeSpan class and it's properties will be useful.
Nirandas, a developer from India. http://www.nirandas.com
ok ive got it working, it was my code, i needed to add the file name of the uploaded file MyFile.PostedFile.SaveAs("C:\\Downloads\\" + justFileName); also i lost the @ at the beginning thanks Truegilly