[Question] FTPclient
Kamil Kukura
kamk at volny.cz
Fri Sep 17 05:56:57 UTC 2004
jmzajac2002 wrote:
> In FTPClient, I don't understand how to choose between binary and ASCII mode. By using
> FTPclient getFileNamed: , it's impossible to get correctly a gif or jpeg file, I suppose
> getData is not in binary mode.
> A specialist of FTPclient please.
According to method's signature 'mir' it is by "Who's Who" page Michael
Rueger <http://minnow.cc.gatech.edu/squeak/1353>. Anyway, there are
already methods #ascii and #binary which should work as switch.
Btw, its superclass is called "TelnetProtocolClient" - I don't like
that. I peeked into RFC854 (Telnet Protocol Specification) and I don't
see any mention of "<response code> <response>" style there. Anyone with
better name for this? Maybe there's already a RFC document describing
this form of communication.
--
Kamil
More information about the Squeak-dev
mailing list
|