maybe it's my system, but when I try to execute a ftp connection command (@ftp_connect), PhpNetCore raises an exception ('PHP.Core.PhpException' in PhpNetCore.dll).
Surrounding the code with a try catch gives me details on the exception:
{"Call to undefined function: 'ftp_connect'"} PHP.Core.PhpException
@luminalpark Phalanger's development is mostly discontinued in favor of PeachPie, the more modern compiler and runtime that also targets .NET Core. Please feel free to give that a try.
Note:ftp_connect isn't implemented yet either, but wouldn't be hard to do.
Hi,
maybe it's my system, but when I try to execute a ftp connection command (@ftp_connect), PhpNetCore raises an exception ('PHP.Core.PhpException' in PhpNetCore.dll). Surrounding the code with a try catch gives me details on the exception:
{"Call to undefined function: 'ftp_connect'"} PHP.Core.PhpException
$host = 'ftp.mozilla.org'; $port =21; $timeout=900;
@ftp_connect($host, $port, $timeout);
Can you help me out? It seems that ftp_connect is not yet implemented