This discussion is archived
1 Reply Latest reply: Feb 14, 2013 4:56 AM by PRISM RSS

Uploading a file using input type=file

723203 Newbie
Currently Being Moderated
Hi,

I'm not sure if I'm in the right place or not. If not can you please let me know where to find and answer for my question.

I'm trying to upload a file in oracle self-service (online page) and I found that the input type=file will let me select the file so I place the input type inside my htp.formopen command.

I used the following when opening the formopen
htp.formOpen(my_link, 'post',null, 'multipart/form-data');
then I created the <input type="file"> tag

But when I send the link to my second page to see if the input type works I get the page not found error.
I'm thinking that maybe is because my 2nd page doesnt have a parameter that will hold the file but right now I'm not sure how to declare the file variables.

Do you have any idea what could be wrong?

Thanks

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points