Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8572915
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T19:07:59+00:00 2026-06-11T19:07:59+00:00

In my code am using something like <sshexec host=somehost username=dude password=yo command=ftp_download/> <ftp action=get

  • 0

In my code am using something like

   <sshexec host="somehost"
username="dude"
password="yo"
command="ftp_download"/>

<ftp action="get" server="server_todownload" userid="user" password="aaa" remotedir="dowload/dir">
        <fileset dir="${installerdirectory}"><include name="${file_name}"/></fileset>
    </ftp>

In “command” of sshexec how i can pass the ftp action as parameters??
is there any example or document is there to get more knowledge??

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T19:08:00+00:00Added an answer on June 11, 2026 at 7:08 pm

    I guess you want to:

    • ssh to another machine, and
    • download something on that machine using ftp.

    I think you misunderstood something. <sshexec> is a task that sshes to a machine and executes a command on that machine. The command it executes must exist on that machine. For example, your code:

    <sshexec host="somehost" username="dude" password="yo" command="ftp_download"/>
    

    There must be a command named ftp_download existing on somehost or your <sshexec> will fail. You can’t use an ant task in your local build file as a parameter because <sshexec> doesn’t work in this way at all.

    Suggestion:

    You can put the ftp task in an ant build file, and deploy it to the remote machine (you can use scp task) before sshexec. In sshexec‘s command, you write ant -f path_to_build_file ftp_target. You need to ensure that there is ant on that machine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using something like the above sample code but when i try to
I've seen a lot of example code written using something like (please forgive how
I'm currently using something like: TextView.SetBackgroundColor(Color.WHITE); in my java code. I'd like to be
I'm using something like the code below to save an NSDictionary of objects to
What is the advantage of using something like NSInteger instead of int in code?
I have a piece of code something like below. I'm using Microsoft Visual C#
I am being able to draw the image using something like the code below:
I'm using .NET Regular Expressions to strip HTML code. Using something like: <title>(?<Title>[\w\W]+?)</title>[\w\W]+?<div class=article>(?<Text>[\w\W]+?)</div>
I am using something like this: jQuery(document).keydown(function(e){ // code } For switching photos in
I'm currently using something like that in my code: class B : public A<C>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.