Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

Getting the file path from the FileUploader Control

$
0
0

Hi Experts,

 

I am using a FileUploader control in SAPUI5 to upload a file. I am able to get the Name of the file that I upload using the method getValue() of the sap.ui.commons.FileUploader, but what I need is the full path of this file.

 

For example

I select the file from a source

Ques3.1.png

 

I am able to get the filename using the code

 

alert(oSimpleFileUploader.getValue());

Ques3.2.png

but what I actually need is the location of this file

 

"C:\Users\Public\Videos\Sample Videos\Wildlife.wmv"

 

Is there a way to achieve this? Please help

 

Thanks and Regards,

Shreepad Patil


Viewing all articles
Browse latest Browse all 6178

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>