On 2015-06-24 16:04, Nims,Alva John (Al) wrote: > > You should not look at just RFC 959, unfortunately. > Yes, "QUOTE" does not appear as a defined command in an RFC, in so far as I > have been able to dig into all the FTP RFC's, but have noticed that commonly > used FTP commands; "PUT","GET", "MPUT", & "MGET" are also NOT defined in the > RFC! > Silly me! I should have thought before I wrote. Of course, the RFCs (generally) describe network protocols, not user interfaces. It is far from the province of RFC 959 to specify the operation of FileZilla or of any GUI FTP client.
> I did look at RFC 414 and there is just this little note: > " Note also that it is useful to provide a "Quote" or "talk" mode > in user-FTP, to enable a user to input commands directly to the FTP > server (i.e. commands not implemented in user-FTP). It is desirable > that user and server FTP features and desirable modes of usage be > documented and reported via the RFC mechanism." > (But they can make suggestions.) > What this all leads to is that you need to get a FTP SERVER command sent and > as I mentioned before: > FTP.sendcmd(cmd) > > Send a simple command string to the server and return the response string. > > FTP.voidcmd(cmd) > > Send a simple command string to the server and handle the response. > Return nothing if a response code corresponding to success (codes in the > range 200–299) is received. Raise error_reply otherwise. > (Are these Python-peculiar?) -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
