2
Answers

capture path in fileupload control

Photo of Don St Denis

Don St Denis

14y
3k
1
I have a web application which creates an email with attachments.  I use the fileUpload control to browse to the file, but I need to capture the contents of the field to the left of the browse button, the field with the drive, path and filename.  I have looked at the fileUpload control and can get the FileUpload.PostedFile.Filename but I need the drive and path also.  Any help/suggestions much appreciated.  Thanks.  Don

Answers (2)