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!

Problem using webutil_file_transfer.AS_to_Client

566386Sep 21 2008 — edited Sep 29 2008
I have configured webutil package successfully

I have made the following configuration to webutil.cfg:
transfer.database.enabled=TRUE
transfer.appsrv.enabled=TRUE
transfer.appsrv.accessControl=TRUE
#List transfer.appsrv.read.<n> directories
transfer.appsrv.read.1=c:\temp
#List transfer.appsrv.write.<n> directories
transfer.appsrv.write.1=c:\temp

I have the following code:
BEGIN

IF NOT webutil_file_transfer.AS_to_Client('C:\temp\saad.pdf', 'C:\temp\saad.pdf') THEN
message('Upload was not successful');
ELSE
message('Upload was successful');
END IF;

END;

I always got "Upload was not successful" can any body tell me what the problem is ?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 27 2008
Added on Sep 21 2008
33 comments
10,672 views