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!

Oracle 11G : Cannot download file from server to client

WencyMay 14 2015 — edited May 26 2015

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.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 23 2015
Added on May 14 2015
12 comments
2,641 views