Is it possible to read the complete path of a file that the server receives?

When the client sends this file to the server:
“D:\folder\nameFile.txt”

Can the server get that path? or should I insert an extra field in the form to send it as string explicitly?

No you can not get that. The browser doesn’t send that deliberately. You can not use that information anyway. D:\folder\nameFile.txt probably does not exist on your server (and would definitely not on mine, as I refuse to run windows).

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.