This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 5812
    
    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
 
wood burning stoves
 
subject: Copy Files to Remote System from Local using ANT
 
Similar Threads
How to unzip a file on a remote unix server using java
List Files of Remote Directory
Ant scp task giving Error
Secure FTP
Maverick SSH Ant task flattens my directory structure when I do a download