02-17-2009 07:00 AM
Hi Norbert,
My Modem can understand only .txt format.So,I need to convert it to text.
thanks,
Vipul
02-17-2009 07:03 AM
Hi Vipul,
what type of modem do you use? Why do you think your modem only understands .txt format?
Mike
02-17-2009 07:19 AM
hi,
the controller understands .txt only
thanx,
vipul
02-17-2009 07:26 AM
Hi Vipul,
what do you mean with txt only? How many Bits do you have to represent a sign? Please explain in more detail. Maybe it's enough to convert your files with Base64 or something similar.
Mike
02-17-2009 07:33 AM
Vipul,
if a transmittion is only possible in ASCII, that does not mean that you have to convert files to *.txt first. You could create a binary stream of your file and flatten that to string, unflatten at the receiver. The backdraft of this method is that you have to know how the data is stored in that ASCII stream (in fact U8 stream interpreted as ASCII symbols).
Still, i am wondering about the general setup. Are we talking about different PCs in a network? Why is there a special modem instead of a normal Ethernet-connection using TCP/IP (and therefore enabling FTP)?
Norbert
02-17-2009 07:51 AM
Trivia: Not all modems were capable of transmitting all possilbe byte combinations. Moedms that used Flow control like X-on and X-Off would intercept these characters and interpret them as control characters. To transfer binary data using these types of modems the data had to be packed up using escape charaters etc so that they could be unpacked on the other side.
Ben