• qnet-ftp and non-standard

    From Nightfox@VERT/DIGDIST to Digital Man on Sun Nov 1 16:17:00 2009
    Hi -

    In the process of using the qnet-ftp script to set up my BBS with a QWK hub with a non-standard FTP port, I seem to have spotted a bug in the qnet-ftp script.

    I've updated my sbbs\exec directory from the CVS repository and noticed that
    a couple years ago, the qnet-ftp script had been updated to take a port number as the last argument. However, it seems to be setting the port number to only the last digit of the port number specified on the command line. For example, I'm specifying port 2121 on the qnet-ftp command-line; I added a line of debugging in the qnet-ftp script during its command-line processing, under the "case 3" (where it's setting the port variable) to output the port that it gets. It seems to be iterating over each digit in the port argument. This is the output I see in my Synchronet events window (with my line of debug output) when my BBS does the network call-out (my password has been hidden with asterisks): 11/1 09:10:26p QNET-FTP: KELLYS kellys.synchro.net ******** 2121
    11/1 09:10:26p *** Passed port: 2
    11/1 09:10:26p *** Passed port: 1
    11/1 09:10:26p *** Passed port: 2
    11/1 09:10:26p *** Passed port: 1
    11/1 09:10:26p QNET-FTP: Connecting to kellys.synchro.net:1 ...

    Would this be easily fixable?

    Nightfox

    ---
    þ Synchronet þ Digital Distortion BBS: digdist.bbsindex.com
  • From Digital Man@VERT to Nightfox on Sun Nov 1 17:26:00 2009
    Re: qnet-ftp and non-standard ports
    By: Nightfox to Digital Man on Sun Nov 01 2009 09:17 pm

    Hi -

    In the process of using the qnet-ftp script to set up my BBS with a QWK hub with a non-standard FTP port, I seem to have spotted a bug in the qnet-ftp script.

    I've updated my sbbs\exec directory from the CVS repository and noticed
    that a couple years ago, the qnet-ftp script had been updated to take a
    port number as the last argument. However, it seems to be setting the port number to only the last digit of the port number specified on the command line. For example, I'm specifying port 2121 on the qnet-ftp command-line;
    I added a line of debugging in the qnet-ftp script during its command-line processing, under the "case 3" (where it's setting the port variable) to output the port that it gets. It seems to be iterating over each digit in the port argument. This is the output I see in my Synchronet events window (with my line of debug output) when my BBS does the network call-out (my password has been hidden with asterisks): 11/1 09:10:26p QNET-FTP: KELLYS kellys.synchro.net ******** 2121
    11/1 09:10:26p *** Passed port: 2
    11/1 09:10:26p *** Passed port: 1
    11/1 09:10:26p *** Passed port: 2
    11/1 09:10:26p *** Passed port: 1
    11/1 09:10:26p QNET-FTP: Connecting to kellys.synchro.net:1 ...

    Would this be easily fixable?

    Try this:

    http://cvs.synchro.net/cgi-bin/viewcvs.cgi/*checkout*/exec/qnet-ftp.src

    That should fix it.

    digital man

    Snapple "Real Fact" #27:
    A ball of glass will bounce higher then a ball of rubber.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Digital Man on Sun Nov 1 18:02:00 2009
    Re: qnet-ftp and non-standard ports
    By: Digital Man to Nightfox on Sun Nov 01 2009 22:26:22

    Try this:

    http://cvs.synchro.net/cgi-bin/viewcvs.cgi/*checkout*/exec/qnet-ftp.src

    That should fix it.

    That works.. Thanks.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion BBS: digdist.bbsindex.com