Solved

file IO over IP

Posted on 2004-10-14
3
195 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
  • 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 500 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
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…
This video discusses moving either the default database or any database to a new volume.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

706 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now