Hi WGet folks,

This isnt really a bug I found in the operation of wget, but I think it is a functionality problem.

I wonder if you can help me. I would like to use wget to mirror an ftp site - this step seems easy. BUT, I would like to set it up so that the files on my end are un- gzipped. When I did this step, of course it goes and looks for the gzipped file, doesnt find it and then goes ahead and redownloads the file. Is there a way to make it smart enough to see that the file exists in an alternate form. I can fix it if you can give me a clue as to where to look in the code - in the compare files section of ftp.c it looks like it does the comparison using strcmp - but maybe it could be changed to say "if the file has the extension gz (or Z or zip), then look for the file without the extension too.

Does this sound dooable - it seems to me like it would be a useful modification. I was hoping I wouldnt have to get the .listing file and make the modifications in there.
Thanks alot,

Bob

Reply via email to