I really just need some advice on how to proceed. My question is this. Can I simply send bytes when the request to send a file is given to me and expect to start receiving packets? Am I perhaps sending the wrong code? in that case is there an example of how to code Should I not bother with trying to write a protocol myself and find a library that does this for me automatically? If so does it exist for windows? Or should I look for a communication program that takes inputs from the command line? So I read the spec for zmodem protocol but I dont understand how to start receiving the file. I send the ZRINIT according to the header file mentioned in the spec. But the file transfer does not begin. Here is where I am stuck: I can talk to the server using a serial cable but when the server sends the file it uses the zmodem protcol so I see that server sends me rz\r**.B00000000\r I am assigned to write a c program on windows platform to retrieve a text file from a remote server using zmodem over a serial port. Pretty much the same as this guy but on windows. Zmodem 使用 C/C 接收文件 (Zmodem receive file with C/C )
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |