I generated a pdf using wkhtmltopdf in
C:/Program Files/wkhtmltopdf/bin with the command
wkhtmltopdf http://google.co.uk google.pdf to test it out.
google.pdf does not show in Windows Explorer and running
ls -l shows it but running
dir does not... Why would the file be invisible in this way?
cat google.pdf prints the pdf to the terminal
I also found I can copy the file to another directory - with exactly the same issues with the copy of the file in its new directory.
Looking at the permissions from
ls -l -
noone has execute permission for the pdf file. I don't know whether that is important though. This isn't important - other pdf's on my computer have the same set of permissions.
attrib google.pdf in C:/Program Files/wkhtmltopdf/bin
attrib google.pdf File not found - google.pdf
ls -l in C:/Program Files/wkhtmltopdf/bin
total 64957 -rw-r--r-- 1 Admin Administ 305109 Jul 1 14:59 bbc.pdf -rw-r--r-- 1 Admin Administ 30426 Jul 1 15:28 google.pdf -rwxr-xr-x 1 Admin Administ 489773 Jun 17 10:54 libgcc_s_sjlj-1.dll -rwxr-xr-x 1 Admin Administ 6762827 Jun 17 10:54 libstdc++-6.dll -rwxr-xr-x 1 Admin Administ 243109 Jun 17 10:54 libwinpthread-1.dll -rwxr-xr-x 1 Admin Administ 41729536 Jun 17 10:54 wkhtmltoimage.exe -rwxr-xr-x 1 Admin Administ 41827328 Jun 17 10:53 wkhtmltopdf.exe -rwxr-xr-x 1 Admin Administ 41639424 Jun 17 10:52 wkhtmltox.dll