I have seen this answer and it just tells the difference between SFTP and VPN ftp.
But I am asking for How exactly SFTP works? The first SSH make a secure tunnel but then how do I use FTP?
I have seen this answer and it just tells the difference between SFTP and VPN ftp.
But I am asking for How exactly SFTP works? The first SSH make a secure tunnel but then how do I use FTP?
Before I answer, I believe you have a misunderstanding of the difference between SFTP & FTPS, because FTP doesn't just become SFTP.
The link Matthew provided SFTP, FTPS and SecureFTP differences and security implications will be helpful in clearing up your misunderstandings. Alternatively, you can view Securing FTP with TLS and SSH File Transfer Protocol
As you've stated SFTP first creates a secure channel between the two parties. Then they must both authenticate to this channel. Upon authenticating, from a users perspective it acts the same way as FTP. The difference being the data is instead passed across the secure channel rather than an insecure channel. The data is encrypted in transit and SFTP provides integrity checks (due to SSH) to make sure the data has not been tampered with.