-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi.
How to get the fully qualified file path I'm uploading?
I can only get the file name using this approach:
public void onUpload$fu(UploadEvent event) { Object media = event.getMedia(); System.out.println("media: " + media.toString()); }
I'd like to get, e.g., "C:\Users\airton\Documents\file.ext"
fu.getDir()
Thanks.
That's not possible due to security restrictions enforced by browsers.
Cheers, Maik
It makes sense...
Thanks, Maik.
Asked: 2011-04-28 08:33:25 +0800
Seen: 133 times
Last updated: Apr 28 '11