File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes Copy Files to Remote System from Local using ANT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Copy Files to Remote System from Local using ANT" Watch "Copy Files to Remote System from Local using ANT" New topic
Author

Copy Files to Remote System from Local using ANT

sasank ch
Greenhorn

Joined: Nov 07, 2007
Posts: 25
Hi ,

I have one requirement.
I need to copy/take the files to remote machine from my local system.

Could you please let me know any ways to achive the above requirement using ANT scripts.

Please provide me any examples, It would be great help to me.


Regards,
Sasank
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2716
    
    6

"sasank ch " please check your private messages for an important administrative matter. You can check them by clicking the My Private Messages link above.


SCJP, SCWCD.
|Asking Good Questions|
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5842
    
    7

Read about the ftp task in the ant docs. Or just use the copy task using a network file share, or remotely mounted volume.


JBoss In Action
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Copy Files to Remote System from Local using ANT