Results 1 to 8 of 8
  1. #1
    Join Date
    Sep 2001
    Posts
    7

    Unanswered: Writing to remote server utl_file

    Hi,
    I am working in oracle 9i on HP-UX. I want to generate reports with PL/SQL utl_file package. This files should be generated on a remote server. Pls let me know how can this be achieved.


    Bye.

  2. #2
    Join Date
    Jan 2004
    Location
    Croatia, Europe
    Posts
    4,094
    Provided Answers: 4
    Creating them locally and FTP-ing them to the remote server?

  3. #3
    Join Date
    Jun 2004
    Location
    Liverpool, NY USA
    Posts
    2,509
    Setting up a perm mount point for the remote server.
    Bill
    You do not need a parachute to skydive. You only need a parachute to skydive twice.

  4. #4
    Join Date
    Dec 2010
    Posts
    2
    A Mount is of course the correct answer. But do you know of a way without a mount? Because our DBA won't create one between our application and job servers (claims a 'mount' is flakey and problematic and can fail unexpectedly).

    I don't know enough or have any experience (as a UNIX administrator or Oracle DBA) to speak to that claim. If I did, it wouldn't matter. Hence the question: Is there another way, without a mount?

  5. #5
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    >Is there another way, without a mount?
    UTL_FILE can ONLY write to a file system local to the DB Server!
    If file needs to reside on a different system after the file has been created,
    then it must be moved to the remote system.
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

  6. #6
    Join Date
    Dec 2010
    Posts
    2
    ONLY!ONLY! ... love the quote at the end of your post. Did you read it?

    You can specify the mount path in the Oracle path definition. The mount is a connection to another server.

  7. #7
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    >The mount is a connection to another server.
    Above is NOT necessarily ALWAYS true.
    My laptop only has local mount points & no connection to another server.
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

  8. #8
    Join Date
    Jun 2004
    Location
    Liverpool, NY USA
    Posts
    2,509
    Your DBA is wrong, I have been a formally trained (sun school) admin, developer, dba, network admin... for 25 years and we have had mount points to other servers on our production database servers for years and not a single one has been flaky or break unexpectedly. Unless you have a defective network, that will not happen. Suggest your DBA brush up on their training. Also a DBA would make a database link, not a mount point. They are totally different.
    Bill
    You do not need a parachute to skydive. You only need a parachute to skydive twice.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •