the problem with c:\\fakepath:
- Some browsers have a security feature that prevents javascript from knowing your file's local full path.
- If you go to Internet Explorer, Tools, Internet Option, Security, Custom, find the "Include local directory path When uploading files to a server" (it is quite a ways down) and click on "Enable"
- The issues are one and the same. It's part of the spec for HTML 5 that you shouldn't be able to display the real local path when using an upload control that manipulates the string with JavaScript. There are exceptions, tweaks, work-arounds, and (as always) questionable implementations depending on your browsers, but it all boils down to that security spec.
- If you really need to send the full path of the uploded file, then you'd probably have to use something like a signed java applet as there isn't any way to get this information if the browser doesn't send it.
-
- Some browsers have a security feature that prevents javascript from knowing your file's local full path.
- If you go to Internet Explorer, Tools, Internet Option, Security, Custom, find the "Include local directory path When uploading files to a server" (it is quite a ways down) and click on "Enable"
- The issues are one and the same. It's part of the spec for HTML 5 that you shouldn't be able to display the real local path when using an upload control that manipulates the string with JavaScript. There are exceptions, tweaks, work-arounds, and (as always) questionable implementations depending on your browsers, but it all boils down to that security spec.
- If you really need to send the full path of the uploded file, then you'd probably have to use something like a signed java applet as there isn't any way to get this information if the browser doesn't send it.
-