I have a form linked to a ticketing system. The user can select what file they want to attach through the asp:fileUpload object. I was wondering how I can extract the full file path from the asp:FileUpload object; something like “C:\Documents And Settings\My Documents\info.txt” as an example.
I’m coding in visual basic
You shouldn’t be able to do that, web applications shouldn’t know the structure or content of the end user’s file system for security purposes. I can’t think of a reason why your web application would even need to know something like that.
As long as you have the file, and you know where you need to store it server side (db/filesystem/etc), I’m not sure what the requirement could be.