Problem using webutil_file_transfer.AS_to_Client
566386Sep 21 2008 — edited Sep 29 2008I 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 ?