Compatibility with FTP and FTPS
Because using FTP or FTPS (FTP over SSL) requires multiple dynamic ports for transferring data between server and client, ngrok is not a good solution for that traffic. We recommend using SFTP instead which relies on a single port number.ngrok with SFTP
You can use ngrok for SFTP communication by opening up a TCP endpoint on the port used by the SFTP server, usually port22 (the same as SSH).