Zmodem protocol with SerialPort?

Gerber

New member
Joined
Mar 21, 2011
Messages
1
Location
Wales UK
Programming Experience
10+
Hi

I was wondering if anyone can help. I am writing a program in vb.net 2008 and need to be able to send and receive files using Zmodem through the a comport. I have search the net and have not found much to do with Zmodem in VB.net. I am already using the System.IO.Ports.SerialPort to send and receive commands through the comport but have no idea how to send or receive a file using the Zmodem protocol.

Does anyone have some sample code that may help me?

Thankyou in advance for any help
 
Last edited:
You're going to need to implement the Zmodem protocol yourself (unless there's open source somewhere that has done it for you). VB does not inherently support it. Instead of wading through the zmodem specification, this should give you a quick summary of how zmodem works. If that's not your cup of tea, you could take a swing at controlling hyperterminal from the command line, since it does support zmodem.

HyperTerminal Zmodem File Transfer
 
Back
Top