UTL_FILE for another server, how

Hello
Anyway is it easy to write with utl_file Oracle MS file on another server? I rea on some Java applets for that but maybe there is something try that. I have no html, xls, xml, or whatever it is a txt file flat simply with a formatting, kind of report.

I'm just learning that utl_file can write on the database server, not the client. In my case I have to create the file and send it as a result of customer and looks all DBAS don't like make files on the server of the Ora, this is common?

All TX

Trent

Trento wrote:

Anyway is it easy to write with utl_file Oracle MS file on another server?

DBMS_FILE_TRANSFER for the Oracle server to the Oracle server copies files.

Between an Oracle server and a non-Oracle server, there are two methods:
-ftp
sftp/scp
-Samba (Windows network drive/CIFS mappimg)
-NFS (network file share)
-rdist (cable - sync'ing a directory of remote server to reflect a local)

The "+ best +" one of them would be sftp/scp because it is one of the most secure interfaces. Rdist can be run using the scp.

I'm just learning that utl_file can write on the database server, not the client.

Fix. And that's the word limitation UTL_FILE . All the entries of file on any platform is possible only for local file handles. There is a way to write to a remote file not magically... Consider the standard appeal fopen() taken I/O supported by the majority of the nuclei.

In my case I have to create the file and send it as a result of customer and looks all DBAS don't like make files on the server of the Ora, this is common?

Stupidity of your DBA IMO.

We stock a large number of text files (output of command line of devices containing configuration data), the CSV files and XML as CLOB files in Oracle. We generate also "files" as a CLOB in Oracle - using the database in the main storage for these 'files '. Delivery of these 'files' (stored as a CLOB) are usually via http (via WPG_DOCLOAD) or via ftp/sftp/scp (using custom PL/SQL packages).

Tags: Database

Similar Questions

Maybe you are looking for