Warning: ftp_connect(): php_network_getaddresses: getaddrinfo for ftp.myserver.com failed: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. in C:\inetpub\wwwroot\ftp\Ftp_Progs\php-ftp-class-2018-11-30\classes\Ftp.php on line 40
Fatal error: Uncaught TypeError: ftp_login(): Argument #1 ($ftp) must be of type FTP\Connection, bool given in C:\inetpub\wwwroot\ftp\Ftp_Progs\php-ftp-class-2018-11-30\classes\Ftp.php:41
Stack trace:
#0 C:\inetpub\wwwroot\ftp\Ftp_Progs\php-ftp-class-2018-11-30\classes\Ftp.php(41): ftp_login(false, 'username', Object(SensitiveParameterValue))
#1 C:\inetpub\wwwroot\ftp\Ftp_Progs\php-ftp-class-2018-11-30\index.php(4): FTP->__construct('ftp.myserver.co...', 'username', 'password', false)
#2 {main}
thrown in C:\inetpub\wwwroot\ftp\Ftp_Progs\php-ftp-class-2018-11-30\classes\Ftp.php on line 41