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.
Sysop: | Ree |
---|---|
Location: | Toronto, ON |
Users: | 2 |
Nodes: | 10 (0 / 10) |
Uptime: | 131:24:21 |
Calls: | 377 |
Calls today: | 2 |
Files: | 2 |
Messages: | 38,904 |