FTP active mode bug in DCC

  • There is a bug for a long time. The FTP active mode does not work.


    If i select in Configurations-> Experts ->FTP Type Active
    When i try to connect in the log i get:


    FTP2: < 227 Entering Passive Mode (192,168,1,3,38,223)
    ....
    FTP2: < 227 Entering Passive Mode (192,168,1,3,81,29)


    This gives me problems with some modems because they only allow FTP connection on real Active mode.
    When this happens the connection is never done and in the log i never pass the PASV command:
    FTP2: > USER root
    FTP2: < 331 Please specify the password.
    FTP2: > PASS xxxxxx
    FTP2: < 230 Login successful. Have fun.
    FTP2: > CWD /etc
    FTP2: < 250 Directory successfully changed.
    FTP2: > PASV


    After this i have to force kill DCC.
    Can you fix this ?
    Thanks

  • DCC is using 2 FTP instances - FTP1 (commander) and FTP2 (background stuff). The setting 'FTP active mode' seems to be affected only to FTP1. The next days I'll check it deeper and try to fix it in the next update.

    Gruss
    BernyR


    Vorbeugen ist besser als nach hinten fallen...

  • Zitat

    Original von BernyR
    DCC is using 2 FTP instances - FTP1 (commander) and FTP2 (background stuff). The setting 'FTP active mode' seems to be affected only to FTP1. The next days I'll check it deeper and try to fix it in the next update.


    Ok. Thanks.
    Please let me know if you fix it so i can try.

  • BernyR


    Hello. Still not working with 1.40. I still have the "Checking network..." and no directory listing.
    I have defined FTP Active. With TotalCommander it reloads the directory. I will send you a IP for testing by PM.
    LOG:


    FTP1: < 220 Willkomen auf Ihrer Dreambox.
    FTP1: > USER root
    FTP1: < 331 Please specify the password.
    FTP1: > PASS dreambox
    FTP1: < 230 Login successful. Have fun.
    FTP1: > CWD /
    FTP1: < 250 Directory successfully changed.
    FTP1: > PWD
    FTP1: < 257 "/"
    FTP1: > PORT 46,189,141,108,7,175
    FTP1: < 200 PORT command successful. Consider using PASV.
    FTP1: > LIST
    FTP1: < 150 Here comes the directory listing.
    FTP1: < 226 Directory send OK.
    FTP1: ! 959 bytes received/sent in 436 milliseconds
    FTP1: > CWD /etc
    FTP1: < 250 Directory successfully changed.
    FTP1: > PWD
    FTP1: < 257 "/etc"
    FTP1: > PORT 46,189,141,108,7,176
    FTP1: < 200 PORT command successful. Consider using PASV.
    FTP1: > LIST
    FTP1: < 150 Here comes the directory listing.
    FTP1: < 226 Directory send OK.
    FTP1: ! 2068 bytes received/sent in 16 milliseconds
    FTP2: < 220 Willkomen auf Ihrer Dreambox.
    FTP2: > USER root
    FTP2: < 331 Please specify the password.
    FTP2: > PASS dreambox
    FTP2: < 230 Login successful. Have fun.
    FTP2: > CWD /etc
    FTP2: < 250 Directory successfully changed.
    FTP2: > PASV

  • The bug is found - next update today, latest tomorrow.


    It's easy for TotalCommander, because it's using only 1 FTP channel. :winking_face:
    DCC has to connect with 2 channels at the same time and another bug was in the second FTP channel - hidden in a seperate thread.

    Gruss
    BernyR


    Vorbeugen ist besser als nach hinten fallen...

    Einmal editiert, zuletzt von BernyR ()

  • Fixed in 1.41. Thanks


    One other question:
    If i check the HTTP Login in Configuration-> Network, the Web-If button does not work.
    Is this correct ? I have the idea that checking the HTTP login would automaticaly enter username and password on HTTP acess. Can you please confirm ?

  • If HTTP login enabled username and password are embedded in the URL string - but this is not supported anymore by the MS Internetexplorer. If you have installed an alternate Browser (like Seamonkey) it should work. In this case please use the "external browser", otherwise it's better to disable 'HTTP login'.

    Gruss
    BernyR


    Vorbeugen ist besser als nach hinten fallen...

  • Zitat

    Original von BernyR
    If HTTP login enabled username and password are embedded in the URL string - but this is not supported anymore by the MS Internetexplorer. If you have installed an alternate Browser (like Seamonkey) it should work. In this case please use the "external browser", otherwise it's better to disable 'HTTP login'.


    Ok. Understood. Thanks