|
Bugzilla – Full Text Bug Listing |
| Summary: | wget fails to change working directory when retrying download | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE Linux 10.1 | Reporter: | Jiri Dluhos <jdluhos> |
| Component: | Network | Assignee: | Reinhard Max <max> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | Beta 1 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
Part of the wget log showing the mistake.
Patch to fix the restart of interrupted FTP transactions |
||
|
Description
Jiri Dluhos
2006-01-20 15:49:46 UTC
Created attachment 64308 [details]
Part of the wget log showing the mistake.
Note: This looks like a fairly recent bug, probably it sneaked in between 1.10.1 to 1.10.2, as I use wget extensively in a script used for testing new releases and the failure only occurred in SLES10 Beta1. The bug must have been in 1.10.1 already, as no FTP code was changed for 1.10.2. The bug was introduced in version 1.10, but this code is so obscure that I am not sure if the fix I found doesn't break anything else :( Argggh - fixing the CWD problem still doesn't fix the restart of broken FTP transfers, because (unless the -c switch is given) the transfer is restarted at the end (!) position of the file rather than the position at which the transfer failed. OK, I just submitted a hack that fixes these problems and hopefully doesn't create any others. Please test intensively! Created attachment 66073 [details]
Patch to fix the restart of interrupted FTP transactions
I am attaching the patch I created, so that I can point the authors of wget to this bug report when I report it upstream.
Thank you for the patch. Intensive testing is no problem - my scripts download lots of data on every install :-) |