Hi Collin
 
If both PC's are visible via the internet I would use a simple TCP/IP socket transfer.  It is simple to program, robust and flexible.  There is no limit to the number of machines that can access the remote machine(s) and transfer can be scheduled or on demand.
 
If you want a simple example see the Delphi Chat demo, though there are also several third party components which can do more.
 
HTH
 
Stephen 
 
-----Original Message-----
From: Colin Dillicar [mailto:[EMAIL PROTECTED]]
Sent: Monday, 14 May 2001 1:20 p.m.
To: Multiple recipients of list delphi
Subject: [DUG]: Simple email data transfer

Hi all,
 
For a remote monitoring application I need to transfer a small amount (1-2k) of binary data between two computers from time to time. I seem to remember another DUG member doing a similar thing but cannot find the reference.
 
I suspect that the solution involved using a MIME e-mail transfer in either direction. In one instance I would need to email the remote PC and have it respond with the data I require, dependant on the nature of a command sent. In another case the remote PC would automatically send data (randomly without a request) when a certain condition existed . 
 
At either PC I therefore need a simple SMPT program to send a message and a background POP3 task to detect an email from the remote PC and make the data available. The PCs will need to connect via PSTN and ISP and the WWW.
 
I want to incorporate the above process into an existing D3 program but don't want to re-invent the wheel.
 
Please can anyone point me to suitable code or a better/simpler method.
 
Cheers
 
[EMAIL PROTECTED]
Colin R Dillicar
Automation Engineering Limited

Reply via email to