Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Other Build Tools
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Other Build Tools
ANT + SFTP
Mark Mero
Greenhorn
Posts: 12
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I am new to
ant
& was wondering if you would recommend using it as a simple method to transfer files via SFTP to a remote location.
Any links to useful resources would also be much appeciated.
Lasse Koskela
author
Posts: 11962
5
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I've always used
the <scp/> task
myself:
<scp todir="user:password@somehost:/home/chuck"> <fileset dir="src_dir"> <include name="**/*.java"/> </fileset> </scp>
Author of
Test Driven
(2007) and
Effective Unit Testing
(2013) [
Blog
] [
HowToAskQuestionsOnJavaRanch
]
Mark Mero
Greenhorn
Posts: 12
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Thank you for the suggestion.
How does this differ from the Sshexec optional task? Also, what relevance does the SFTP client/server being used have on the method used to invoke the transfer?
Thanks again.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
can not read file
Is there any api in java to connect to windows using java from unix machine
Is there any good method to implement SFTP client with spring
SFTP through Ant
SFTP Open Source Package for Java
More...