I have access to a system which returns a string of data, when I request a specific URL. There's (almost) always a reasonable response from the server.
Now, I've set up a wget in cron for automatic retrieval and parsing of this data. Often, 4.5 kB of text is returned, but more often than not, I get a file of size 0. And if I then go and request the same URL in a browser, I get 4.5 kB of text.
Why does wget return an empty file, when I can get a fine response in my browser?