I have the following code snippet:
<div class='upload-border'>
<input class='file-upload' id="fileUpload" runat="server" type="file" name='upload'/>
</div>
I need to get the local directory of the file I just selected. With C #, when I use fileUpload.Value in Internet Explorer, it's returning me the correct directory, for example: C: \ temp \ myfile.txt. In Chrome, it just returns the filename.
I need the full directory as I need to save this content.
How can I get the complete directory with C #?