You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Venkatesh Vijayakumar04 <Ve...@infosys.com> on 2006/05/19 14:50:56 UTC

FTP Task

Hi



I am getting the following error when I use ftp task in my ant script.



<ftp action="mkdir"

                        server="${IP.T0.7020}"

                        port="22"

                        userid="${IP.USER}"

                        password="${IP.PASSWORD}"

                        remotedir="${PROJECTNAME}"

                        verbose="yes">

            </ftp>



     [echo]

     [echo]             Compling all class files....

     [echo]      



makedirOnline:

     [echo]

     [echo]             Creating directories for Online

     [echo]      



compile:

     [echo] Compiling source files

    [javac] Compiling 13 source files to D:\Automation
2\OnlineBuild\May19_1\source

    [javac] Note: C:\OnlineSources\Application Layer\Authentication
Module\com\mountain\molehill\auth\MolehillDBAuthenticator.java uses or
overrides a deprecated API.

    [javac] Note: Recompile with -deprecation for details.



NectarEJB:

     [echo]

     [echo]             Creating NectarEJB.jar...    

     [echo]      



jars:



buildOnline:



FTPT0makedir:



BUILD FAILED

C:\Automation 2\Build Scripts\Services.xml:15: error during FTP
transfer: org.apache.commons.net.MalformedServerReplyException: Could
not parse response code.

Server Reply: SSH-1.99-OpenSSH_3.6.1p1



Total time: 14 seconds





Thanks

Venkatesh.V





**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

Re: FTP Task

Posted by Jeffrey E Care <ca...@us.ibm.com>.
http://www.iana.org/assignments/port-numbers

____________________________________________________________________________________________ 

Jeffrey E. (Jeff) Care 
carej@us.ibm.com 
IBM WebSphere Application Server Development 
WAS Pyxis Lead Release Engineer 






"Venkatesh Vijayakumar04" <Ve...@infosys.com> 
05/19/2006 08:50 AM
Please respond to
"Ant Users List" <us...@ant.apache.org>


To
"Ant Users List" <us...@ant.apache.org>
cc

Subject
FTP Task







Hi




I am getting the following error when I use ftp task in my ant script.




<ftp action="mkdir"

                        server="${IP.T0.7020}"

                        port="22"

                        userid="${IP.USER}"

                        password="${IP.PASSWORD}"


                        remotedir="${PROJECTNAME}"


                        verbose="yes">

            </ftp>




     [echo]


     [echo]             Compling all class files....

     [echo] 





makedirOnline:

     [echo]


     [echo]             Creating directories for Online

     [echo] 





compile:

     [echo] Compiling source files

    [javac] Compiling 13 source files to D:\Automation
2\OnlineBuild\May19_1\source

    [javac] Note: C:\OnlineSources\Application Layer\Authentication
Module\com\mountain\molehill\auth\MolehillDBAuthenticator.java uses or
overrides a deprecated API.

    [javac] Note: Recompile with -deprecation for details.




NectarEJB:

     [echo]


     [echo]             Creating NectarEJB.jar... 


     [echo] 





jars:




buildOnline:




FTPT0makedir:




BUILD FAILED

C:\Automation 2\Build Scripts\Services.xml:15: error during FTP
transfer: org.apache.commons.net.MalformedServerReplyException: Could
not parse response code.

Server Reply: SSH-1.99-OpenSSH_3.6.1p1




Total time: 14 seconds







Thanks

Venkatesh.V






**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended 
solely for the use of the addressee(s). If you are not the intended 
recipient, please notify the sender by e-mail and delete the original 
message. Further, you are not to copy, disclose, or distribute this e-mail 
or its contents to any other person and any such actions are unlawful. 
This e-mail may contain viruses. Infosys has taken every reasonable 
precaution to minimize this risk, but is not liable for any damage you may 
sustain as a result of any virus in this e-mail. You should carry out your 
own virus checks before opening the e-mail or attachment. Infosys reserves 
the right to monitor and review the content of all messages sent to or 
from this e-mail address. Messages sent to or from this e-mail address may 
be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***