EBS Customizations (MOSC)

MOSC Banner

How download image a Image from webpage url?

edited Dec 28, 2017 2:28AM in EBS Customizations (MOSC) 2 commentsAnswered

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;

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center