I'm writing a FTPSocket that opens to a ftp server. I need a way of deciding what type of data (binary, text) is coming in. Any ideas?
Lewin Chan
Ranch Hand
Joined: Oct 10, 2001
Posts: 214
posted
0
hi adrian, I'm probably getting the wrong end of the stick here, but if you're writing the ftp client side, then surely you "know" what mode you're in, because you can explicitly set it using "bin" or "ascii"... Is that what you're trying to get at?
I have no java certifications. <br />This makes me a bad programmer.<br />Ignore my post.