{"action":"created","issue":{"url":"https://api.github.com/repos/mysociety/alaveteli/issues/2532","labels_url":"https://api.github.com/repos/mysociety/alaveteli/issues/2532/labels{/name}","comments_url":"https://api.github.com/repos/mysociety/alaveteli/issues/2532/comments","events_url":"https://api.github.com/repos/mysociety/alaveteli/issues/2532/events","html_url":"https://github.com/mysociety/alaveteli/issues/2532","id":85584660,"number":2532,"title":"Uploaded PDFs becoming corrupted","user":{"login":"kingqueen3065","id":11923618,"avatar_url":"https://avatars.githubusercontent.com/u/11923618?v=3","gravatar_id":"","url":"https://api.github.com/users/kingqueen3065","html_url":"https://github.com/kingqueen3065","followers_url":"https://api.github.com/users/kingqueen3065/followers","following_url":"https://api.github.com/users/kingqueen3065/following{/other_user}","gists_url":"https://api.github.com/users/kingqueen3065/gists{/gist_id}","starred_url":"https://api.github.com/users/kingqueen3065/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kingqueen3065/subscriptions","organizations_url":"https://api.github.com/users/kingqueen3065/orgs","repos_url":"https://api.github.com/users/kingqueen3065/repos","events_url":"https://api.github.com/users/kingqueen3065/events{/privacy}","received_events_url":"https://api.github.com/users/kingqueen3065/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mysociety/alaveteli/labels/2%20-%20contender","name":"2 - contender","color":"006b75"},{"url":"https://api.github.com/repos/mysociety/alaveteli/labels/bug","name":"bug","color":"AE0902"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-05T17:12:53Z","updated_at":"2015-06-11T12:09:20Z","closed_at":"2015-06-11T12:09:20Z","body":"A requester has helpfully provided us with the files sent to her in response to her request. The authority had posted them to her on a data stick, and she has shared them with us via Dropbox, https://www.dropbox.com/home/English%20Heritage  - request https://www.whatdotheyknow.com/request/communication_regarding_the_scen?nocache=incoming-660198 \r\n\r\nI have tried uploading them to the host, both by SFTP, and by temporarily uploading them to my website, SSHing in and wgetting the files. I put them in /var/www/www.whatdotheyknow.com/files/request/communication_regarding_the_scen\r\n\r\nHere's the first: https://www.whatdotheyknow.com/request/communication_regarding_the_scen/Dreamland_Redacted.pdf Here's the 2nd: https://www.whatdotheyknow.com/request/communication_regarding_the_scen/Response_Letter_15_1170.pdf \r\n\r\nThese are then available for download from WhatDoTheyKnow, but the problem is that something corrupts the PDF file. The PDFs show fine before being uploaded - either on my home PC, on my dedicated server - but once they've been uploaded to Titan and downloaded from WhatDoTheyKnow, they are corrupted and can't be read in Foxit PDF.\r\n\r\nGiven I've tried too separate means of uploading them, I suspect that it's something with the web server that is corrupting the files?\r\n\r\nThanks\r\n\r\nDoug"},"comment":{"url":"https://api.github.com/repos/mysociety/alaveteli/issues/comments/111109792","html_url":"https://github.com/mysociety/alaveteli/issues/2532#issuecomment-111109792","issue_url":"https://api.github.com/repos/mysociety/alaveteli/issues/2532","id":111109792,"user":{"login":"kingqueen3065","id":11923618,"avatar_url":"https://avatars.githubusercontent.com/u/11923618?v=3","gravatar_id":"","url":"https://api.github.com/users/kingqueen3065","html_url":"https://github.com/kingqueen3065","followers_url":"https://api.github.com/users/kingqueen3065/followers","following_url":"https://api.github.com/users/kingqueen3065/following{/other_user}","gists_url":"https://api.github.com/users/kingqueen3065/gists{/gist_id}","starred_url":"https://api.github.com/users/kingqueen3065/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kingqueen3065/subscriptions","organizations_url":"https://api.github.com/users/kingqueen3065/orgs","repos_url":"https://api.github.com/users/kingqueen3065/repos","events_url":"https://api.github.com/users/kingqueen3065/events{/privacy}","received_events_url":"https://api.github.com/users/kingqueen3065/received_events","type":"User","site_admin":false},"created_at":"2015-06-11T12:09:20Z","updated_at":"2015-06-11T12:09:20Z","body":"Thank you; I don't know what action you've taken or what happened but the PDFs now download without corruption."}}