[tex-live] TeXLive (Windows) bash script -> exe

Taco Hoekwater taco at elvenkind.com
Tue May 20 12:09:47 CEST 2014


On 20 May 2014, at 11:53, Josef Kleber <josef.kleber at gmx.de> wrote:

> 
> local file = ltn12.sink.file(io.open('stackoverflow', 'w'))
> 
> This works for the website, but strangely not for an image. Something gets downloaded but it seems to be corrupt.


This being windows, you probably need

   local file = ltn12.sink.file(io.open('stackoverflow', 'wb’))

Best wishes,
Taco





More information about the tex-live mailing list