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?
posted 14 years ago
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. This makes me a bad programmer. Ignore my post.