Sagar Nss February 2016

How can i get image path with location name like from d or e or f or drive?

I want to get total path,for example if the user upload an image from d drive like: D:/sample.jpg ,

I want to get total that path only (D:/sample.image).

Is it possible ? if possible please help me(Java using servlet).

Answers


Ferrybig February 2016

This information is not exposed to websites.

When a user uploads a file, only the path name component of the file can be thrusted. Google chrome for examples uploads files with C:/fakeroot/image.png. The only way for you to get the real path is either using a java or flash applet that upload the files manually.

Post Status

Asked in February 2016
Viewed 1,884 times
Voted 13
Answered 1 times

Search




Leave an answer