Connecting to database(flatfile) on unix server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Man4ish
    New Member
    • Mar 2008
    • 151

    Connecting to database(flatfile) on unix server

    Hi,
    How can i connect to database(flatfi le) on unix server to access the data on local machine(windows/linux) in C++? Thanks in advance.

    Regards
    Manish
  • gpraghuram
    Recognized Expert Top Contributor
    • Mar 2007
    • 1275

    #2
    I think you can use RPC for this.
    But i am not very sure u can do this in windows.

    Raghu

    Comment

    • weaknessforcats
      Recognized Expert Expert
      • Mar 2007
      • 9214

      #3
      You can use FTP.

      FTP is built into Internet Explorer.


      You can just copy the Unix flatfile to your Windoiws machine and off you go.

      Comment

      • Man4ish
        New Member
        • Mar 2008
        • 151

        #4
        No i don't want to copy the flat file. i want to access on the client from server.

        Comment

        • weaknessforcats
          Recognized Expert Expert
          • Mar 2007
          • 9214

          #5
          You will have to write a server app to receive the key from the client, access the file and pass results back to the client.

          You can't just access a file on a server. It's not the same as a network drive.

          Here is where SQL is handy if your server file is kept in a SQL table. You could just send the SELECT to the server and the server sould send back the cursor.

          Comment

          Working...