Bug 186195
| Summary: | wget fails to download on second try, where it would succeed on first try | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Alexei Podtelezhnikov <apodtele> | ||||
| Component: | wget | Assignee: | Karsten Hopp <karsten> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 6 | ||||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | i386 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2006-12-08 10:32:18 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Alexei Podtelezhnikov
2006-03-22 05:15:27 UTC
Additionally, I have had to update my scripts that use wget to add the "-4" parameter to get wget to work properly again. The -4 parameter forces wget to use IPv4. I'm thinking this is a glibc-2.3.6-3 problem that is causing side-effects in wget.. and possibly other glibc dependent utilities. My $0.02 Jeff G. as you can see from your wget output, it refuses to do cwd; "... ==> CWD not required. ..." the file isn't found because you are left in the root directory. another problem caused by this bug is that when no errors occur, wget always cwd, even if unnecessary. it is easily triggered with the .listing bug: $touch .listing $wget "ftp://kernel.org/pub/REA*ME" wget refuses to overwrite .listing and reconnects; failing cwd Created attachment 142692 [details]
fix
Beautiful fix for a bug that still exists in FC6. I've added this patch to the Rawhide package wget-1.10.2-8.fc6.1 has been pushed for fc6, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report. I think wget is broken now, since I updated to 1.10.2-3.3.fc5 (and the fc6 version) the recursive feature doesn't work anymore... [root@VTS-MOINEAU cron.daily]# wget -A.ts,.mpg,.pcap,.bin -nd -P /video/ -r -N -l inf ftp://x.x.x./Transport/TestPlan/ --11:03:33-- ftp://x.x.x.x/Transport/TestPlan/ => `/video/.listing' Resolving x.x.x.x... 10.17.224.40 Connecting to x.x.x.x|10.17.224.40|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /Transport/TestPlan ... done. ==> PASV ... done. ==> LIST ... done. [ <=> ] 777 --.-K/s in 0s 11:03:33 (1.78 MB/s) - `/video/.listing' saved [777] Removed `/video/.listing'. Wrote HTML-ized index to `/video/index.html' [1608]. I updated on January 17th, before that everything worked fine. Do I have a problem with my command line? This doesn't work either : wget -nd -r ftp://x.x.x.x/Transport/TestPlan/ (In reply to comment #7) How is this related to this particular bug report? File your own bug report. ;) I recently had a similar issue as that from comment #7. Here's how to solve it: add a trailing wildcard to the line... ie: wget -nd -r ftp://x.x.x.x/Transport/TestPlan/* |