This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have some code that downloads a binary file just fine when executed from a broswer, but when I run the app via wget or curl, everything works fine except that I never get the file. Any ideas why that might be? It's a spring application. Here's the section of the code that delivers the file:
Please be sure to use code tags (not blue text) when posting code to the forums. Unformatted code is extremely hard to read and many people that might be able to help you will just move along to posts that are easier to read. Please read this for more information.
You can go back and change your post to add code tags by clicking the button on your post.