?
Solved

file IO over IP

Posted on 2004-10-14
3
Medium Priority
?
203 Views
Last Modified: 2010-04-05
I would like to find out if there is a tool or a set of function, that do the same as the functions
fopen fclose open close read and write etc. over IP,  basically I have set of files on a remote server, the only access
to the server is an IP address,  I need a server and a client side set of tools.

Thanks
0
Comment
Question by:amielDorel
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 17

Expert Comment

by:geobul
ID: 12308149
Hi,

Share the folder on the remote computer and use FileOpen, FileClose, etc functions passing '\\IPAddress\ShareName\FileName' to FileOpen.

Regards, Geo
0
 
LVL 17

Expert Comment

by:geobul
ID: 12308169
Forget my previous comment, please. I haven't red the question carefully. Sorry.
0
 
LVL 17

Accepted Solution

by:
Wim ten Brink earned 2000 total points
ID: 12308965
The only way is by creating a server-side application that sends the files over to you. A good example of this are FTP applications but you don't have to use the FTP protocol.

If you want to open, read/write and close the file at the server-side only then you have to create some server-tool that accepts commands and acts upon these commands. It must run continuously (like a service) and perhaps accept multiple connections from multiple clients. It must also be able to detect if the connection is broken in which case it must close all files it had opened for this specific connection. Means you have to keep track of all files opened per connection.
This will be extremely complex and any system crash could be quite damaging.

Is there any other way? Since all you have is an IP number, the answer is simple: NO.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question