How to save file on local machine [message #455102] |
Mon, 10 May 2010 03:14 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
parag_narkhede
Messages: 110 Registered: January 2008 Location: Pune
|
Senior Member |
|
|
Hi,
I have a requirement to :
1) at the click of button, some data will be written to XML file and after writting to file, it should get saved to some location on local machine(c:\temp), without asking user, where to save.
How to do this in oracle form?
Also is it possible to read file from local machine?
|
|
|
Re: How to save file on local machine [message #455174 is a reply to message #455102] |
Mon, 10 May 2010 10:14 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
gregor
Messages: 86 Registered: March 2010 Location: Germany
|
Member |
|
|
Hi,
if you are using WEB_FORMS
- use the WEBUTIL-Package ( Install it before)
Search-Words:
myfile:= client_text_io.fopen/.. put_line/.. fclose
if you FORMS are running in Client-Server Mode
- use: text_io.fopen/.. put_line/.. fclose
|
|
|
|
Re: How to save file on local machine [message #455294 is a reply to message #455174] |
Tue, 11 May 2010 00:25 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
parag_narkhede
Messages: 110 Registered: January 2008 Location: Pune
|
Senior Member |
|
|
gregor and David,
Thanks to both of you.
In short I will have to use WebUTIL. I am working on Oracle apps E-buisiness suite 11i, which uses 9i DB. Its a 3-tier architecture.
Can I use webutil there? specially with forms 6i. Some people says we can use webutil with forms 6i..
If you think I can use webutil to save file to particular location on local machine, then can you please share approximate code for that...
|
|
|
|
|
|
Re: How to save file on local machine [message #456167 is a reply to message #455343] |
Sat, 15 May 2010 07:40 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
parag_narkhede
Messages: 110 Registered: January 2008 Location: Pune
|
Senior Member |
|
|
Gentlemen, I couldn't try packages told by you.
I am working on oracle apps EBS and for security reasons it doesn't allow to store and read file on local machine. I asked client to store files on server and I am reading and storing using UTL_FILE.
Anyway, Thanks for you help.
|
|
|
|
|
|
|