> From: mindspin311 [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, March 30, 2008 10:49 AM
> To: user@ant.apache.org
> Subject: moving from server to server
> 
> 
> Can I do this all in ant without having to create a temp tar 
> file, then ftp
> it to another server, then go back and delete the temp tar file?
> 
> Can I use move instead of copy across different servers, so I 
> don't have to
> remove the temp file after?

You can do from ant pretty much anything you can do from a shell. If you
can write a shell script to do what you describe, you can generally do
the same via an ant build file through a combination of ant tasks and
embedded scripts.

Note that when you say "move instead of copy across different servers,
so I don't have to remove the temp file after", that's what's most
likely going to happen behind the scenes anyway, even if your FTP client
has a "move" command. I guess I just don't understand why it's such a
big deal to have to specify both steps.
--
Rick Genter
Principal Software Engineer
Silverlink Communications
[EMAIL PROTECTED]
www.silverlink.com
Office (781) 425-5763
Mobile (781) 771-9677

This e-mail, including attachments, may include confidential and/or
proprietary information, and may only be used by the person or entity to
which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to