Sql loader issue(How to specify a file that exists on remote server)

In sqlldr infile parameter I'd like to give a data file that exists on remote server.How can I specify???Please help me in the syntax.
Any help would be greatly appreciated.
Edited by: 792353 on Sep 24, 2010 7:22 AM

sqlldr can accept any path that is VALID and it can be any type of share as long as the OS supports the share.
so INFILE can be anything you want as sqlldr will simply attempt to access it via the OS.
if you are on a linux box going to another linux box with an NSF mount point on the box running sqlldr simply reference:
INFILE '/mountpoint/fname'
Now I have never tried a UNC path before but I would guess that if you are on a windows box, going to another winddows box and the box running sqlldr was logged in with the right permissions it would simply be:
INFILE '\\server\directory\file'
I doubt that it will accept a URL as in:
INFILE '//servername.com/directory/file'
I don't think that sqlldr does anonymous ftp or htp file transfer protocol, but I could be wrong.
NOTE: I have found that it is best to ALWAYS surround your INFILE parameter with single quotes.

Similar Messages

  • How to attatchment some files that are in other server to send an email?

    Hi
    I need to send an enmail with sql, but i have to attatchment some files, those files are in anohter server, so I want to know, how attatchment those files? 
    Thanks in advance 

    Yeah, I don't know if you can attach a file on a remote server.  Why not just copy it over to the SQL Server machine, and attach it form there (which would be the local machine when the file is downloaded).
    Please see this for info about using email in SQL Server.
    Create account, permission account, and send Email from SQL Server Express:
    http://www.sqlservercentral.com/blogs/querying-microsoft-sql-server/2013/09/02/sending-mail-using-sql-server-express-edition/
    Check email event log, and remove unsent emails from server
    http://www.dotnet-tricks.com/Tutorial/sqlserver/4761260812-Remove-unsent-database-email-from-SQL-Server.html
    Troubleshoot email error message:
    http://www.mytechmantra.com/LearnSQLServer/Troubleshooting-SQL-Server-blocked-access-to-procedure-sp_send_dbmail.html
    When you get your email processes working fine, download the file using C#.
    http://www.microsoft.com/en-us/download/details.aspx?id=34673
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Net;
    using System.IO;
    namespace ConsoleApplication2
    class Program
    static void Main(string[] args)
    string localPath = @"C:\Downloads\";
    string fileName = "your_file.txt";
    FtpWebRequest requestFileDownload = (FtpWebRequest)WebRequest.Create("ftp://ftp.server.com/" + fileName);
    requestFileDownload.Credentials = new NetworkCredential("your_username", "your_password");
    requestFileDownload.Method = WebRequestMethods.Ftp.DownloadFile;
    FtpWebResponse responseFileDownload = (FtpWebResponse)requestFileDownload.GetResponse();
    Stream responseStream = responseFileDownload.GetResponseStream();
    FileStream writeStream = new FileStream(localPath + fileName, FileMode.Create);
    int Length = 2048;
    Byte[] buffer = new Byte[Length];
    int bytesRead = responseStream.Read(buffer, 0, Length);
    while (bytesRead > 0)
    writeStream.Write(buffer, 0, bytesRead);
    bytesRead = responseStream.Read(buffer, 0, Length);
    responseStream.Close();
    writeStream.Close();
    requestFileDownload = null;
    responseFileDownload = null;
    Sorry if this is a little more complex than what you were looking for, but I think this is the easiest way to do it.  :0
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

  • How to convert RAW files that saved in UCCX server to wav file?

    Hi all,
    How we can covert the RAW files that are saved in UCCX server to wav file by using command prompt in UCCX servers. Or is there some other way? So that we should be able to hear the sound of these files.
    C:\Program Files\Cisco\Desktop_Audio
    Regards
    Ali Raza

    Hi,
    I use Switch File Audio Convertor from NCH Software to do this.
    It is a commercial product but there is a time limited evaluation and if you decide to keep it it is only $30.
    http://www.nch.com.au/switch/index.html
    It is great for converting audio files to the correct format for music on hold as well.

  • How to download the files, that are located in server, from the client?

    Hello folks,
    My program is like that, the files are located in the server and stored in file system.
    I can only know the server name and the directory listing, so that I can show the file names from that directory on the browser.
    The user might downloads those files from the browser and he might deletes those files through the browser.
    That user has valid right to do so and the files can be any type of extension.
    So how can I write this kind of program? Currently the whole system is in struts, so how can I make compatible with struts technology?
    Do u have any ideas?
    Regards,
    Phyo

    Thank you, grigpm. But actually I want the user to select the file that he wants to download rather than setting it in the configuration file. If it is possible, let me see the sample code of FileManager servlet. I've tried with some ways but I can only download from the same server with the application server. I want to download from different server. I hope someone can help me with sample code....
    Best regards,
    Phyo

  • Using a servlet to read a pdf file that is in remote server

    Hi,
    I read some topics about how to read a pdf file using a servlet...but my issue is that my pdf files are on a remote Sun solaris server (intranet) and my servlet will be in a public network (internet), so my question is, still be possible to use this solution to read my remote file ? how i can access the remote file ??
    any idea from where I can start ??
    best regards,
    carlos.

    You may use a FTP client component to connect with your servlet to the Sun server, retrieve the bytes and serve them to the browser. Instead of reading the stream from a local file, you will be reading from a network socket, but the code -if well written and designed- may be very similar.
    There are many good ftp client components for java, you may also use other protocols like HTTP or SCP (ssh file transfer).
    Regards,
    Martin Cordova
    http://www.martincordova.com
    Dinamica framework for J2EE
    - the easiest way to Java webapps...

  • How to check if file already exist in application server?

    Hi there,
    Does anyone know a quick way to check if a file has already exists in an application server?
    Thanks in advance.
    Cheers.

    Call the function PFL_CHECK_OS_FILE_EXISTENCE.
    Best regards Jack
    FUNCTION PFL_CHECK_OS_FILE_EXISTENCE.
    ""Lokale Schnittstelle:
    *"       IMPORTING
    *"              FULLY_QUALIFIED_FILENAME LIKE  TPFHT-PFFILE
    *"       EXPORTING
    *"              FILE_EXISTS LIKE  BTCH0000-CHAR1
      OPEN DATASET FULLY_QUALIFIED_FILENAME FOR INPUT.
      IF SY-SUBRC EQ 0.
         FILE_EXISTS = 'X'.
         CLOSE DATASET FULLY_QUALIFIED_FILENAME.
      ELSE.
         CLEAR FILE_EXISTS.
      ENDIF.
    ENDFUNCTION.

  • SQL*Loader-510: Physical record in data file (clob_table.ldr) is long

    If I generate loader / Insert script from Raptor, it's not working for Clob columns.
    I am getting error:
    SQL*Loader-510: Physical record in data file (clob_table.ldr) is long
    er than the maximum(1048576)
    What's the solution?
    Regards,

    Hi,
    Has the file been somehow changed by copying it between windows and unix? Ora file transfer done as binary or ASCII? The most common cause of your problem. Is if the end of line carriage return characters have been changed so they are no longer /n/r could this have happened? Can you open the file in a good editor or do an od command in unix to see what is actually present?
    Regards,
    Harry
    http://dbaharrison.blogspot.co.uk/

  • HT1923 I get a message-error opening installationlog file. Verify that the specified lof file location exists and is writeable-when I try to uninstall iTunes and other components

    I get a message-error opening installationlog file. Verify that the specified lof file location exists and is writeable-when I try to uninstall iTunes and other components. How can I uninstall and reinstall iTunes?

    Hey jemerritt,
    Thanks for the question. I understand you are experiencing issues with iTunes for Windows. The following resources may help to resolve your issue:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    Issues installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    Thanks,
    Matt M.

  • How can I access files that I moved from an older MacBook Pro to a newer one via Firewire and Migration assistant.  The files show up on the new MacBook but cannot be opened.  Thanks!

    How can I access files that I moved from an older MacBook Pro to a newer one via Firewire and Migration assistant?  The files show up on the new MacBook but cannot be opened.  Thanks!

    Get info then check permissions then add your curent user name (it was probably different on old Mac) and give your username full read/write permissions.

  • How to get PDF file that has been transformed into docx into my filing system so I can work on it???

    How can I get the PDF file that was transformed into a docx file into my filing system to be able to work on it and translate it as the customer requested?

    THanks for your reply.
    Well what happens is I bought the program. It gives you a button to click,
    you log in and then a box opens up asking you to select the file, I go into
    my filing system (in Windows explorer) select the file, and the program
    converts it into docx, my choice.  I can read it there and when I try to
    copy and paste it into my file where the PDF version is saved, it behaves
    like an "image", and I can't save it.... or it saves likes something you
    save on the internet, so you have to go into internet every time you want
    to see it.    I have also pressed any amount of buttons to see if it will
    give me the option to save it any other way, and have found nothing.  What
    I would need is a file in docx.format that I can edit.  People send me
    things in PDF and sometimes I can just copy it off the PDF file and save it
    in WOrd, then I can translate it for them. But sometimes the PDF file
    doesnt allow me to copy the text.  If it is in image form, I cannot work on
    it.  It means printing it, so I can copy type it into Word... and for that
    I certainly wouldnt need to buy a program.  Its just double the work and
    ends up that the job takes twice as long.!
    Sorry  if I am a bit dumb with informatics.  But I simply could not find
    any way whatever to  copy the PDF file that was transformed into Word, in a
    format that would enable me to edit it.
    Kindest regards,
    Margery
    2013/12/2 Test Screen Name <[email protected]>
        Re: How to get PDF file that has been transformed into docx into my
    filing system so I can work on it???
    created by Test Screen Name<http://forums.adobe.com/people/TestScreenName>in *Adobe
    ExportPDF* - View the full discussion<http://forums.adobe.com/message/5890871#5890871

  • Hi, somebody knows how to edit a file that I created in corel draw 11 and I need to edit like PDF!!!! is so simple and nobody knows howwwwwwwwwwww!!!!

    Hi, somebody knows how to edit a file that I created in corel draw 11 and I need to edit like PDF!!!! is so simple and nobody knows howwwwwwwwwwww!!!!

    See your other thread.

  • How to play video files that are in Drop box on iPod?

    How to play video files that are in Drop box on iPod?

    I am going to have to write a technote about this, because it comes up a lot.
    Flash Player itself is designed to play SWF content as a browser plugin or as an ActiveX control (when it's IE Windows).
    There is a standalone Flash Player, but that's something Adobe  provides directly as a feature of Flash CS4 Professional. It gets installed with Flash. We have made some standalone players available on http://www.adobe.com/support/flashplayer/downloads.html, but not all (and I don't know why.  Looking into it)
    There are numerous 3rd party standalone SWF players out there though.  Some designed to just play video, others that play full SWF. I suggest a google search of 'play SWF standalone' and read the results.
    On the Mac, consumers who want to play SWF content off their desktop can use the Adobe Media Player. You can import a local SWF (and FLV and other video) and play it in AMP.  Get it here:
    http://www.adobe.com/products/mediaplayer/
    That's Mac only, doesn't work on Windows.

  • How do I combine files that have already been combined

    How do I combine files that have already been combined?

    Hi Oldshep1959
    I didn't get you ...Please Explain your workflow ...

  • How to move PDF file from Spool to Application Server?

    How to move PDF file from Spool to Application Server?
    Cannot use RSTXPDFT4 because that converts OTF to PDF and the file is already PDF.
    RSTXPDFT5 doesn't work. It picks the file up and assigns it a 'text' type and outputs a 1 line txt (1kb in size) on the server with the spool number in it!
    The program which outputs the file to the spool, in the first place, uses adobe forms and outputs to a printer of type PDF.

    Hi Gemini ,
    Please refer the below links.
    [http://sap.ittoolbox.com/groups/technical-functional/sap-hr/convert-a-spool-to-pdf-and-save-on-application-server-in-background-720959]
    [http://www.sapfans.com/forums/viewtopic.php?f=13&t=325628&start=15]
    Edited by: Prasath Arivazhagan on Apr 13, 2010 4:48 PM

  • HOW DO I FIND FILES THAT HAVE BEEN TRANSFERED FORM MY PC TO MY MAC

    How do i locate files that have been transfered from my PC to my new MacBook Pro

    Depends how they were transferred. If you used Migration Assistant, a new user was created. Look there in your documents folder. If you used Setup Assistant, look in your documents folder.

Maybe you are looking for