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.
Originally posted by Priya Jothi: In this case source and destination are in the same machine. [/QB]
Why not use copy task?
Joined: Jul 13, 2004
To start with a simple case i'm copying to a local machine.But in future i may change the host to refer to remote machine also.In that case also the same task need to be used instead of writing a new one.Thats why am using SCP instead of copy task.