How to copy folders from one system to another within the network. We would need to provide username pwd for authentication to establish connection. Is it possible to achieve this using java?

You probably don't need the full power and complexity of Java to do this. A simpler scripting language will probably do. I've tagged this post with a javascript tag so it will be visible in the appropriate forums.
JC

yes, but only concern is i have few rest calls which are called in my java code, based on the response obtained from it I would be I will deciper which folders need to be called. Hence would like to limit it to java

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.