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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top