PDA

View Full Version : upload/download to/from remote url


avp12
Sep 19th, 2004, 09:31 PM
is it possible with spring to write application that will do upload/download to/from a remote url that will use user/password authentication?

robh
Sep 21st, 2004, 01:41 PM
It is certainly possible to write an application like that based on top of Spring, however Spring doesn't provide any helper classes to do what you are looking for. I recommend that you check out HttpClient at http://jakarta.apache.org/commons/httpclient. You can also find a pretty decent book about Commons stuff in Pro Jakarta Commons by Harshad Oak - it covers HttpClient in detail.

Rob