Solved

file IO over IP

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Newbie Thread Programming 1 151
Using idhttp to login to instagram 2 89
Delphi Mdi application Child forms get behind control 7 207
creating threads in delphi 1 101
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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

816 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

8 Experts available now in Live!

Get 1:1 Help Now