w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Get full file path including file's name from an uploaded file in C#

You won't be able to depend on getting the full path. In the end, the browser only needs to multi-part encode the physical file and submit it as a form post (of sorts). So once it has it's location and has encoded it -- it's done using it.

It's considered a security risk to expose the file structure to Javascript/HTML (ie., the internet).

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.