aspose 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


Win a copy of Java 8 in Action this week in the Java 8 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: 2713
    
    5

"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: 5779
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Copy Files to Remote System from Local using ANT
 
Similar Threads
Secure FTP
Maverick SSH Ant task flattens my directory structure when I do a download
List Files of Remote Directory
How to unzip a file on a remote unix server using java
Ant scp task giving Error