Solved

file IO over IP

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Using idhttp to login to instagram 2 76
Delphi 2 51
TEMBEDDEDWB how can i change its user agent ? 8 50
Base1 Encode/Decode 3 68
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
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, f…

863 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

19 Experts available now in Live!

Get 1:1 Help Now