How download image a Image from webpage url?
Hi All.
We have a requirement to download Images attached to AP Invoices as an UTL Attachments. Can you pls help to download them with out touching anything in between.
We used below API to download but what we are getting in output is a URL. We need this as an Invoice Attachment from that URL.
Pls help on this issue.
--Web Page Attachments
for c_file in cur_files
loop
v_file := utl_file.fopen('/************/ptmp',c_file.file_name, 'W', 32764);
utl_file.put(v_file,c_file.url);
utl_file.fclose(v_file);
end loop;