Results 1 to 2 of 2

Thread: Ftp passive and active mode

  1. #1
    New user
    Join Date
    06-07-10.
    Posts
    1

    Default 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

  2. #2
    User taca's Avatar
    Join Date
    06-20-09.
    Location
    Kyoto, Japan
    Posts
    111

    Default 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.
    --
    Takahiro Kambe

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •