Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I've run into this a few times when a site serves a variable file i try to download


Expected file instead I get a file tracajaxcommentsplugin\?old_path\=%2F with content

<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="" lang="en" ...

This problem is not specific to trac or this pecific file.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Wrap it with a single quote:

$ wget '' -O

share|improve this answer
On XP and the like, wrap the command in a double quote to get the same result. – RobW Dec 1 '11 at 22:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.