Download a file on the web

HELO,

I need to download a file on the web and copy it to the file system (ex: download from http://172.26.20.22/test.csv to \\server01\teste.csv).

I must do this by only using the pl/sql and java sources, I do call a pl/sql procedure and the server is not any component installed.

I built a java procedure using java to download the file, but it gives me AccessControlException when you try to download.

Someone can such me what permissions should I have to do? Is there another easier way?

Thank you.

This should be possible using the utl_http package. In particular, look at the request_pieces(); READ_TEXT(); read_line() and read_raw().

Moreover, since the http protocol is relatively simple, you can switch to using utl_tcp, but I would try utl_http first, because it handles the redirection; Cookies; and authentication.

Published by: taktang on February 10, 2009 19:36

Tags: Database

Similar Questions

Maybe you are looking for

  • How to make a library of firefox fron video movie maker?

    I downloaded a video, instead of save I clicked on in open, now it's in the library of firefox, but I seem unable to move to live movie maker, what should I do? It is in my computer or should I save it all first, now I'm learning how to do this so an

  • Qosmio G30-126: how simultaneously connect analog TV and TV satellite

    Hi, I have a Qosmio G30-126 and you have a problem with receiving simultaneous TV analog (by TV-in the port of integrated TV tuner) and satellite satellite set - top box (by AV-in ports). I can't program Windows Media Center for analog TV (but not sa

  • change the primary address of the live ID account

    I have a windows livve id associated with an email account that I no longer have access. It is also linked to an email that is not verified who I would like to make my main address. My mbilé phone number has also changed, since it is an old account.

  • Seven Windwos start not at all, even in safe mode.

    I had a problem with my port ethret so I thought I would restore back to before the problem occurred to fix. System Restore is stuck somewhere in the middle and continue woudn't. I gave up after an hour or two and restarted, it. Now he does not even

  • How do you find the IP address in windows 8?

    I am currently running windows 8. How can I find my IP address?