description: Get connection settings and other functions to work with FTP in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
`Function GetConnectionSettings(Val Domain, Val Port = 21, Val Login = Undefined, Val Password = Undefined, Val Passive = True, Val ReadTimeout = 120, Val WriteTimeout = 120, Val IPResolve = True) Export`
When ResolveIP = True, the connection address returned by the server in passive mode after PASV will be replaced with the proxy server's IP if a proxy is used, or with the primary connection's IP if the server returns 127.0.0.1