Trying to pull down the gz file to see why I was getting a missing file on installation:
https://ftputil.sschwarzer.net/trac/attachment/wiki/Download/ftputil-2.4.2b2.tar.gz
Inappropriate file type or format tar: Error exit delayed from previous errors.
gzip format
File cannot be downloaded with wget but does work when downloaded with web browser.
The link name implies that it will be a .gz download but the link actually gets redirected to a web page with a real download link on it.
Hi ssteiner, thanks for reporting! :-)
The links in the table at the top of the download page are direct download links and work for a direct download with wget (just tested). It's a bit unfortunate that wget keeps the suffix
?format=raw
in the filename unless you use the-o
option, though a webbrowser usually removes it. The query string makes the difference between a direct download and a preview page.Probably you used the links at the end of the page. These are auto-generated by Trac, and the links in this section lead to HTML preview pages which are practically useless if not confusing for tar.gz files. So far, I haven't found a way to remove the attachment section without editing the page template. However, changing the template affects all wiki pages and it gets lost after every Trac update.
As a workaround, I've added an additional "heading" in the same layout as the auto-generated "Attachment" heading to notify people of the problem.
I close this ticket with a status of "invalid" since the tar.gz file seems to be ok.
Nonetheless I'm thankful for tips on how to deal with this confusion in the wiki. Please send tips to the mailing list or in private e-mail.