On 30.03.2009, at 10:36, hanserl wrote:
>> What does curl output, when you download the file on the command  
>> line?
>>
>> $ curl -o test.pdf -D - 'http://downloadurl/'
>>
>> Is the returned file size reasonable or do you just get an empty
>> response?
> I downloaded curl commandline tool and tried following as you
> suggested.
> $ curl -o test.pdf -D - 'http://
> TheLinkBehindTheClickHereToDownloadthePDF/'
>
> And here's the output of curl:
>  % Total    % Received % Xferd  Average Speed   Time    Time
> Time  Current
>                                 Dload  Upload   Total   Spent
> Left  Speed
>  0     0    0     0    0     0      0      0 --:--:-- --:--:--
> --:--:--     0HT
> TP/1.1 200 OK
> Date: Mon, 30 Mar 2009 08:33:28 GMT
> Server: Apache/2.2.0 (Win32) DAV/2 mod_ssl/2.2.0 OpenSSL/0.9.8a
> mod_autoindex_co
> lor PHP/5.1.1
> X-Powered-By: PHP/5.1.1
> Content-Encoding:
> Content-Length: 0
> Content-Type: text/html
>
>  0     0    0     0    0     0      0      0 --:--:-- --:--:--
> --:--:--     0
> Der Befehl "writer" ist entweder falsch geschrieben oder
> konnte nicht gefunden werden.

Are you sure you've put single quotes around the URL? This last output  
indicates that the shell got an unescaped "&" and tried to execute the  
following parts as a separate command.

-- Johannes


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"mwlib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/mwlib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to