# [NTG-context] problem with url in \setupexternalfigures

Hans Hagen pragma at wxs.nl
Fri Jan 15 00:24:17 CET 2010

```On 14-1-2010 9:18, Peter Münster wrote:
> On Wed, Jan 13 2010, Hans Hagen wrote:
>
>> ok, i can fix that but there is a problem ...
>>
>> if no suffix is given, the quality list is followed and the first request
>> will be
>>
>> http://pmrb.free.fr/tmp/hacker-test.pdf
>>
>> which gives a home page which is no pdf of course and luatex does not like
>> that
>
> Hello Hans,
>
>
> wget http://pmrb.free.fr/tmp/hacker-test.pdf
> --2010-01-14 09:05:32--  http://pmrb.free.fr/tmp/hacker-test.pdf
> Resolving pmrb.free.fr... 212.27.63.139
> Connecting to pmrb.free.fr|212.27.63.139|:80... connected.

at some point i want to use the built in socket code instead of calling
curl in which case we can intercept the 404 case (i had no time for that
yet)

Hans

-----------------------------------------------------------------