as far as i know, SFTP is NOT equal to FTP over SSH2.
I have found following definition:
What's the difference between SFTP and FTP over SSH2?
In an SFTP transfer, the SSH2 server both encrypts the data and handles the file transfer itself. This is true for VShell⢠as well as OpenSSH and other Unix or Linux servers. FTP over SSH2 uses the port forwarding capabilities of SSH2 to forward standard FTP over an encrypted tunnel, while the actual FTP file transfer is handled by a separate FTP server.
But I can't help you with that problem