Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Use Win_Api_Utility on server side

Status
Not open for further replies.

housesw

Programmer
May 19, 2001
7
0
0
TH
I have some process on server side.I use UTL_FILE to generate a text file.After that I want copy it to other location. Can I use Win_Api_Utility.Copy_File on this case ? and How I do ? ..Someone suggest me to use like this code
loop
utl_file.get_line(read_file, buffer);
utl_file.put_line(write_file, buffer);
end loop;
I think this process will use many long time because my text file was very large.Please help me !!!!
 
Win_Api_Utility is used only within Developer's products on Windows platform, because it depends on ora_ffi package. Try to write some simple library (dll for Windows) and call it by via pl/sql wrapper. You may also write your library on Java.
 
Thanks for your solution. I 'm a new developer ,please you give me some calling library by via pl/sql wrapper example .Thank you very much.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top