try the setDataType() or SetAttribute(); A=ASCII I=Binary
On Tue, Mar 5, 2013 at 4:25 AM, Karas <iceas...@gmail.com> wrote: > hi > > Sorry , my english is not good. > > I want to Embedding a FtpServer in my project. > The ftp client is MCU. it only can work with binary dataType, and when the > dataType is not binary ( like ascii ). what it did is just disconnect , not > change the dataType. > so how to change transfer datatype when connect , or change the default > transfer datatype; > > there is a getDataType() method in FtpSession but cant find set method. > > > > > thanks a lot > > -- ------------------------------ Thomaz Luiz Santos Linux User: #359356 http://thomaz.santos.googlepages.com/