NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/56129: ftp(1) should keep control session during large xfer

>Number:         56129
>Category:       bin
>Synopsis:       ftp(1) should keep control session during large xfer
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 25 15:05:00 +0000 2021
>Originator:     Izumi Tsutsui
>Release:        NetBSD 9.1
System: NetBSD mirage 9.1 NetBSD 9.1 (GENERIC) #0: Sun Oct 18 19:24:30 UTC 2020 i386
Architecture: i386
Machine: i386
During ftp installation using miniroot on slow hp300 and sun3 etc.,
the install script in miniroot use ftp(1) to get binary sets.
However it takes more than 5 minites (300 seconds) to get large sets
like base.tgz and comp.tgz etc., then ftp(1) command complains

250 CWD command successful.
local: INSTALL/base.tgz remote: base.tgz
227 Entering Passive Mode (199,233,217,201,203,31)
100% |************************************| 40035KiB  104.99 KiB/s    00:00 ETA

421 Service not available, remote server timed out. Connection closed.
40995866 bytes received in 07:21 (90.60 KiB/s)
ftp: No control connection for command
Extracting base.tgz:


I've fixed miniroot script to use auto-fetching with URL per each set
so installation now works, but ftp(1) command still comlains as above.

Several ftp clients keep control sessions by sending NOOP or PWD etc.
during large tranfers, so it's worth to add similar mechanism to
NetBSD's ftp(1).

See above.
Or downloader comp.tgz on slow machines or via poor network.


Home | Main Index | Thread Index | Old Index