Re: FTP client

Henrik Grubbström <[email protected]>
Newsgroups gmane.comp.lang.pike.user
Organization Roxen Internet Software AB
Message-ID <[email protected]>
On Thu, 15 Jan 2015, Pontus Östlund wrote:

> Well, I've actually started on one already based off of how the SMTP client
> is implemented. So my FTP class inherits Protocols.NNTP which inherits
> Stdio.FILE and I've then overridden some of the methods in NNTP in my FTP
> class.

Note that the FTP command channel is defined as running on top of TELNET, 
so you nominally need to handle TELNET escape sequences, although most
servers don't start TELNET negotiation without prompting from the client.
Note also that the ABOR command is defined as being preceeded by a TELNET 
Interrupt signal (which in turn is implemented with TCP urgent data).

-- 
Henrik Grubbström					[email protected]
Roxen Internet Software AB
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.