• Post Reply Bookmark Topic Watch Topic
  • New Topic

FTP data type

 
Adrian Yan
Ranch Hand
Posts: 688
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!