This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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.