This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Firstly, I'm a total noob to Java, spent some time with Java and Oracle back at Uni over 10 years ago, however my profession these days keeps me well and truly planted in the Microsoft world (I'm a SQL DBA by rights).. so you may be asking what am I doing messing around with Java..
Long story short, I need to download a file from a web server from a 3rd party vendor, and build this into a nightly package which after downloading the file will extract it, import the data into various tables in a DB etc. The 3rd party has provided me with the following files/code as a method of automating the download of the files, however I'm having problems compiling/running them, and I imagine it's probably just because I don't really have any idea what I'm doing with Java. I have spent several hours on Google, and quite a lot of searches have brought me to your site, but I haven't quite managed to find a resolution to my specific problem, so here goes