[BusyBox 0000485]: ftpget fetches 0 bytes if ftp server does not support SIZE command
bugs at busybox.net
bugs at busybox.net
Sat Oct 15 22:30:09 UTC 2005
The following issue has been SUBMITTED.
======================================================================
http://busybox.net/bugs/view.php?id=485
======================================================================
Reported By: nsd
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 485
Category: Networking Support
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
======================================================================
Date Submitted: 10-15-2005 15:30 PDT
Last Modified: 10-15-2005 15:30 PDT
======================================================================
Summary: ftpget fetches 0 bytes if ftp server does not
support SIZE command
Description:
busybox 1.01 ftpget issues a SIZE command, and if it fails, falls through
and calls bb_copyfd_size() with filesize = 0.
The correct behavior would be to disable continuing an interrupted
download, but fetch the file from the start.
wget, btw, does behave correctly.
The ftp server that caused this is the default one shipped with solaris
SunOS 5.8.
patch that fixes this is attached.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
10-15-05 15:30 nsd New Issue
10-15-05 15:30 nsd Status new => assigned
10-15-05 15:30 nsd Assigned To => BusyBox
10-15-05 15:30 nsd File Added:
busybox-1.01_ftpget_SIZE_unsupported.patch
======================================================================
More information about the busybox-cvs
mailing list