hello friends...

i have done it using FileUpload1.PostedFile.FileName ....
but the problem is everything is working fine in IE ....but not in mozilla...safari....

actually i want to get the full path of the selected file...not the file name only..........


thank you.....

hi
by using filename you will get full path.test like this

if (fileup1.HasFile)
        {
            Response.Write(fileup1.PostedFile.FileName);
        }

that wont work in mozilla .....i even trid with javascript but no use. :(

fileUpload1.SaveAs(Server.MapPath(“~/uploads/”) + System.IO.Path.GetFilename(fileUpload1.FileName));