1
votes

Apex 4.2 : I want to capture the filepath after browsing and selecting a file using item File browse (WWV_FLOW_FILES). The file is uploaded as a BLOB but all info regarding its original location is missing, as it is replaced by f.i. F12457/<name doc>.docx. When using File Browse (browsing for a document and selecting) however the complete path (f.i. L:\abc\def\document.docx) is shown in the field (although its value then is already F999999/document.docx).

2

2 Answers

1
votes

Browser security stops JavaScript from accessing this information

How to get full path of selected file on change of <input type=‘file’> using javascript, jquery-ajax?

eg:

$('#P6_FILE').val()

"C:\fakepath\12c_notes.txt"
0
votes
declare
v_doc varchar2(100);
begin
select :P_DOCUMENT into v_doc from dual;
:P59_DOCNAME := v_doc;
end;