The command works and saves the content to a file as I wanted but wget just doesn't terminate (even when I try this from the command line rather than in a script). I suspect it's the ? and & characters that are causing the problem, if so is it possible to 'escape' these.
Pre-post edit: I just put the url in quotes and it works properly. Doh!
Leaving the post here as it might help someone else who is as thick as me!
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum