Want to subscribe to topics you're interested in?
Become a Member

Net2FTP doesn't want to work...

Discussion in 'Other Web Apps usage' started by Benjamin74, Mar 19, 2017.

  1. Benjamin74

    Benjamin74 New Member

    23
    1
    3
    May 2, 2016
    Ratings:
    +4
    Local Time:
    6:57 PM
    Hello guys,

    Did any of you try to install Net2FTP on Centminmod ?

    Somehow the install works falwlessly but when trying to connect to the server I always get

    Unable to login to FTP server XX.XX.XX.XX with username benjamin.

    Are you sure your username and password are correct? Please contact your ISP helpdesk or system administrator for help.

    Any idea what could be causing this ? Maybe some security measures in centminmod?

    Thanks,

    Cheers,
     
  2. Benjamin74

    Benjamin74 New Member

    23
    1
    3
    May 2, 2016
    Ratings:
    +4
    Local Time:
    6:57 PM
    OK found more info by clicking on the "technical details" below the error message:


    The error occured in file /home/nginx/domains/mydomain.com/public/net2ftp/includes/filesystem.inc.php on line 64.
    function ftp_openconnection (/home/nginx/domains/mydomain.com/public/net2ftp/modules/browse/browse.inc.php on line 232)
    function net2ftp_module_printBody (/home/nginx/domains/mydomain.com/public/net2ftp/includes/main.inc.php on line 325)
    function net2ftp (/home/nginx/domains/mydomain.com/public/net2ftp/index.php on line 65)
    argument 0: printBody


    Still investigating what is broken...
     
  3. eva2000

    eva2000 Administrator Staff Member

    29,034
    6,589
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,784
    Local Time:
    2:57 AM
    Nginx 1.13.x
    MariaDB 5.5
    Never used net2ftp myself so not sure what that error means. But net2ftp is a web based ftp client ! It won't work out of the box as Centmin Mod installs and configures CSF Firewall to protect it's ports like ftp ports and uses pure-ftpd virtual ftp users (and not system users) in passive ftp mode with explicit TLS/SSL encrypted ftp only (no plain text) for per nginx vhost site ftp.

    To connect with net2ftp as a client, you need to connect as outlined at Pure-FTPD Virtual FTP Users - CentminMod.com LEMP Nginx web stack for CentOS

    You'd have to ask net2ftp developers if their web based ftp client supports such features to be able to connect to Centmin Mod's pure-ftpd virtual ftp user setup with ftp passive mode and explicit TLS/SSL mode requirements.