Re: Program to send/receive files via a serial port
From: Ilja Tabachnik (billy_at_arnis-bsl.com)
Date: 11/28/03
- Next message: Brandon Niemczyk: "Re: quick basic"
- Previous message: Manoj K.S: "Program to send/receive files via a serial port"
- In reply to: Manoj K.S: "Program to send/receive files via a serial port"
- Next in thread: Jens.Toerring_at_physik.fu-berlin.de: "Re: Program to send/receive files via a serial port"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 28 Nov 2003 09:45:36 +0200
Manoj K.S wrote:
> Hi all,
>
> I am planning to write a program to automate the testing of serial
> port.
> I have made a small program.
>
...skip...
>
> How a receiver program ,will know the start of file and end of file so
> that it can recreate the file with out any error?
>
> Any sample programs or links ..
IMHO a general solution isn't easy, you need some protocol
to transfer files reliably... and such protocols already exist
(X/Y/Z-Modem, Kermit, UUCP).
Take a look at (there should be the source code also):
http://www.omen.com/ (ZModem)
http://www.columbia.edu/kermit/ (Kermit)
HTH
-- Ilja.
- Next message: Brandon Niemczyk: "Re: quick basic"
- Previous message: Manoj K.S: "Program to send/receive files via a serial port"
- In reply to: Manoj K.S: "Program to send/receive files via a serial port"
- Next in thread: Jens.Toerring_at_physik.fu-berlin.de: "Re: Program to send/receive files via a serial port"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|