cancel
Showing results for 
Search instead for 
Did you mean: 

Reg. UPLOAD UI

former_member185879
Active Contributor
0 Kudos

Hello All,

I have upload UI in my screen. On click of a "Browse" button i selected a file from my desktop(local).

Now what i want is i need to get the local path(i.e., "C:\Documents and Settings\desktop\abcd.pdf") on click of a button.

Is it possible to get the address? i tried after uploading to server, it is giving the server path. how can i get the local file path? Give me some suggestions.

Regards

SM Nizamudeen

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member185879
Active Contributor
0 Kudos

I already know that there is NO STANDARD SOLUTION for this. But i thought some one could have tried out.

Regards

SM Nizamudeen

Former Member
0 Kudos

Hi Nizamudeen,

Yes u can read the path using visual composer..Pl refer the follwoing path :

[http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414800)ID1619343150DB12616424858958000907End?blog=/pub/wlg/12725]

in webdynpro ,you can just read the filename not full path i believe as fileupload ui binds to attaribute of type binary.

Thanks,

Regards,

Anu

siarhei_pisarenka3
Active Contributor
0 Kudos

Hi

It seems there is no standard solution for this. As soon as the file is uploaded on a server you cannot get the client file path. Only client browser knows the client file path, but browser does not transfer it to a server.

BR, Siarhei