The original RFC for SFTP was written to actually be a simpler version of FTP. While v3 seems to be the standard and the final RFC was never ratified, SFTP is still FTP.
They are very different. SFTP isn't even textual, nor does it have separate control and data channels of FTP.
Are these exactly the same?:
https://www.ietf.org/rfc/rfc959.txt
https://datatracker.ietf.org/doc/html/draft-moonesamy-secsh-...
Note that SFTP is not a protocol for security transport / authentication. It doesn't do that. It assumes that you've already secured/authorized the channel with SSH. See section 1 of the RFC.
https://datatracker.ietf.org/doc/html/draft-ietf-secsh-filex...