I am generating report into pdf file in drive X:\ as X:\xxx.pdf
Then I want to copy this file into my local drive so I check if the file is accessible then I copy it.
Code:
IF NOT webutil_file_transfer.Is_AS_readable( X:\xxx.pdf' ) THEN
message('File is NOT readable..');
ELSE
message( 'File is readable..');
END IF;
Result: File is NOT readable..
Note: I have full access to the drive and I can see the file generated.
Code:
v_success := WEBUTIL_FILE_TRANSFER.AS_TO_CLIENT
(
C:\xxx.pdf',
X:\xxx.pdf'
);
Result: WUT-121 [WEBUTIL_FILE_TRANSFER.DownloadInt] The file transfer has been forbidden by the Administrator
Here is my config entries:
webutil.cfg
#NOTE: By default the file transfer is disabled as a security measure
transfer.database.enabled=TRUE
transfer.appsrv.enabled=TRUE
transfer.appsrv.workAreaRoot=
transfer.appsrv.accessControl=TRUE
#List transfer.appsrv.read.<n> directories
transfer.appsrv.read.1=*
#List transfer.appsrv.write.<n> directories
transfer.appsrv.write.1=*
Also I noticed this in the java console, I don't know if it affects.
Missing Application Name: manifest attribute for: http://servername:9001/forms/java/jacob.jar
I will appreciate any inputs.