You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Leung, Wilson" <Wi...@tdsecurities.com> on 2008/04/17 15:37:15 UTC
Ant FTP Task - FTPDirectoryScanner.checkRemoteSensitivity
I got the following exception when I attempted to ftp get a file from the solaris server onto my Windows box:
--- Nested Exception ---
java.lang.NullPointerException
at org.apache.tools.ant.taskdefs.optional.net.FTP$FTPDirectoryScanner.checkRemoteSensitivity(FTP.java:536)
at org.apache.tools.ant.taskdefs.optional.net.FTP$FTPDirectoryScanner.listFiles(FTP.java:507)
at org.apache.tools.ant.taskdefs.optional.net.FTP$FTPDirectoryScanner.listFiles(FTP.java:518<ftp://FTP.java:518>)
my code:
<ftp password="${FTP_password}" server="${FTP_server}" userid="${FTP_userid}" verbose="yes" remotedir="${MY_HOME}" action="get" binary="no">
<fileset dir="${tmp.dir}" id="environment_file">
<include name="${environment_file}" />
</fileset>
</ftp>
I am using Ant 1.6.5
Any suggestions on the cause and a fix?
Wilson Leung
EQD Technology Solutions
Toronto Dominion Tower
66 Wellington St W, 19th Flr.
Toronto, ON M5K 1A2
T: 416-308-6043
F: 416-308-3442
********************
NOTICE OF CONFIDENTIALITY
This communication including any information transmitted with it is
intended only for the use of the addressees and is confidential.
If you are not an intended recipient or responsible for delivering
the message to an intended recipient, any review, disclosure,
conversion to hard copy, dissemination, reproduction or other use
of any part of this communication is strictly prohibited, as is the
taking or omitting of any action in reliance upon this communication.
If you receive this communication in error or without authorization
please notify us immediately by return e-mail or otherwise and
permanently delete the entire communication from any computer,
disk drive, or other storage medium.
If the above disclaimer is not properly readable, it can be found at
www.td.com/legal
AVERTISSEMENT DE CONFIDENTIALITE
Ce courriel, ainsi que tout renseignement ci-inclus, destiné uniquement
aux destinataires susmentionnés, est confidentiel. Si vous
nêtes pas le destinataire prévu ou un agent responsable de la
livraison de ce courriel, tout examen, divulgation, copie, impression,
reproduction, distribution, ou autre utilisation dune partie de ce
courriel est strictement interdit de même que toute intervention ou
abstraction à cet égard. Si vous avez reçu ce message par erreur ou
sans autorisation, veuillez en aviser immédiatement lexpéditeur par
retour de courriel ou par un autre moyen et supprimer immédiatement
cette communication entière de tout système électronique.
Si l'avis de non-responsabilité ci-dessus n'est pas lisible, vous
pouvez le consulter à www.td.com/francais/legale