Solved

file IO over IP

Posted on 2004-10-14
3
200 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone 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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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 shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

809 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