By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,854 Members | 856 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,854 IT Pros & Developers. It's quick & easy.

Connecting to database(flatfile) on unix server

P: 151
How can i connect to database(flatfile) on unix server to access the data on local machine(windows/linux) in C++? Thanks in advance.

Mar 26 '09 #1
Share this Question
Share on Google+
4 Replies

Expert 100+
P: 1,275
I think you can use RPC for this.
But i am not very sure u can do this in windows.

Mar 26 '09 #2

Expert Mod 5K+
P: 9,197
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.
Mar 26 '09 #3

P: 151
No i don't want to copy the flat file. i want to access on the client from server.
Mar 27 '09 #4

Expert Mod 5K+
P: 9,197
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.
Mar 27 '09 #5

Post your reply

Sign in to post your reply or Sign up for a free account.