Transmit files by Serial Ports
-
Hi,I have a question when I was writing the program about serial communication. It seems that most articles about serial communication are wrote to the characters transmission.But now I want to transmit files by serial ports,how could I do that.I mean "transmit files" is that copy files on a PC to another. Is there anyone could give me a method to do that? Thanks very much. YES, I am here.
-
Hi,I have a question when I was writing the program about serial communication. It seems that most articles about serial communication are wrote to the characters transmission.But now I want to transmit files by serial ports,how could I do that.I mean "transmit files" is that copy files on a PC to another. Is there anyone could give me a method to do that? Thanks very much. YES, I am here.
-
Hi,I have a question when I was writing the program about serial communication. It seems that most articles about serial communication are wrote to the characters transmission.But now I want to transmit files by serial ports,how could I do that.I mean "transmit files" is that copy files on a PC to another. Is there anyone could give me a method to do that? Thanks very much. YES, I am here.
Just sending characters is Ok for a simple application. To do it "properly" you need to use some protocol to prevent the loss of data, such as XMODEM, YMODEM, KERMIT etc. I am sure you can easily find a freeware library for XMODEM or YMODEM, with these protocols you can also send the name of the file you are transfering, I can't rember if that one is XMODEM or YMODEM. Happy hunting
If I have seen further it is by standing on the shoulders of Giants. - Isaac Newton 1676