URL:
<http://savannah.gnu.org/bugs/?46584>
Summary: wget --spider always returns zero exit status
Project: GNU Wget
Submitted by: knok
Submitted on: 2015年12月01日 23時33分47秒
Category: Program Logic
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Name: NOKUBI Takatsugu
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: trunk
Operating System: None
Reproducibility: Every Time
Fixed Release: None
Planned Release: None
Regression: None
Work Required: None
Patch Included: None
_______________________________________________________
Details:
Try to use wget as file existance check for ftp, --spider option seems
not work correctly.
getftp() in src/ftp.c always returns RETRFINISHED if file exists or not.
However, wget returns 8 status without --spider option.
It seems a bug.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?46584>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/