Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

copy database file local folder is not working in 11g

user13272730Mar 11 2013 — edited Mar 11 2013
Hi,
i am working on oracle forms 11g.
the follwoing code is not working. could any one guide me to reslove the problem.

------------------------------------------------
declare
lv_file_name varchar2(100);
lv_command varchar2(200);
begin
lv_file_name := substr(:parameter.image_path,instr(:parameter.image_path,'\',-1)+1);

lv_command := 'cmd /c copy_file '||:parameter.image_path ||' s:\temp\deposit\scanned_image\'||lv_file_name;

client_host(lv_command);


if form_success then
message('saved..');
else
message('file copy process failed..');
end if;



end;
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 8 2013
Added on Mar 11 2013
2 comments
116 views