get fullphysical path from upload field

  • Thread starter Thread starter Jon Paal
  • Start date Start date
J

Jon Paal

How do I get the full physical path used in the upload field ?
Currently I am only getting the file name .

_fileName = System.IO.Path.GetFileName(_postedFile.FileName)
 
Hello Jon,

you cannot get client's file path on server. FileUpload control provides
only file name (FileName) and stream (FileContent).

Regards,
Ladislav Mrnka
 
Back
Top