I have ansimple 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? ;)

Greetz

Liam

Accepted Answer

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.

Written by erickson
This page was build to provide you fast access to the question and the direct accepted answer.
The content is written by members of the stackoverflow.com community.
It is licensed under cc-wiki