Ftp passive and active mode
Hi,
I wrote a small patch to the ftp configuration (localconfig.php) to manage the active or passive mode:
Add to localconfig.php
$GLOBALS['TL_CONFIG']['ftpPassive'] = false; // Active or Passive mode
and changed file system/libraries/Files.php:
ftp_pasv($resConnection, $GLOBALS['TL_CONFIG']['ftpPassive']);
It's useful if the server FTP running with NAT.
Thanks
Re: Ftp passive and active mode
Hi,
I suggest you to post your patch (diff -u) to here or submit to
the ticket system (http://dev.contao.org/projects/typolight/).
Best regards.