diff --git a/mystic/mis_client_ftp.pas b/mystic/mis_client_ftp.pas index 0c5eb04..5c4e099 100644 --- a/mystic/mis_client_ftp.pas +++ b/mystic/mis_client_ftp.pas @@ -152,7 +152,7 @@ Begin Password := ''; UserPos := -1; DataIP := ''; - DataPort := 20; + DataPort := Random(bbsConfig.inetFTPPortMax - bbsConfig.inetFTPPortMin) + bbsConfig.inetFTPPortMin; DataSocket := NIL; IsPassive := False; FBasePos := -1;