Change FTP default port to non-privileged port 2122

This commit is contained in:
Jarian Cottingham 2026-02-02 21:30:44 -06:00
parent e93716b5f7
commit c7cc1aca73

View File

@ -77,7 +77,7 @@ def status():
@cli.command()
@click.option('--host', '-h', default='0.0.0.0', help='FTP server host')
@click.option('--port', '-p', default=21, type=int, help='FTP server port')
@click.option('--port', '-p', default=2122, type=int, help='FTP server port')
def ftp(host: str, port: int):
"""Start FTP server"""
config = Config()
@ -107,7 +107,7 @@ def ftp(host: str, port: int):
click.echo("FTP Server stopped")
except Exception as e:
click.echo(f"Error starting FTP server: {str(e)}")
click.click.echo(f"Error starting FTP server: {str(e)}")
@cli.command()
def tables():