Reputation: 482
I have an simple understanding question: Why can I only send Binary Data from Android to a FTP server? I am currently learning it and now I understood it. With ByteArrayInputStream I am converting my string into bytes to send it binary. But why binary?
Upvotes: 0
Views: 350
Reputation: 269847
In a digital computer, all data are binary.
Are you talking about a lack of the "ASCII" mode that some FTP clients support? Those have always been problematic in the way they tend to corrupt data. Making an exact copy, without alterations, is a lot safer.
Upvotes: 3