I have the same problema. Any solution?
--
View this message in context:
http://ant.1045680.n5.nabble.com/ftp-task-and-Java-7-tp4664764p4753485.html
Sent from the Ant - Users mailing list archive at Nabble.com.
-
To unsubscribe,
Hello Jesse,
I did some changes long time ago to the ftp task but do not remember
much about it. I would have to open the source code.
What happens if you do not nest a fileset when doing your
invocation ?
Regards,
Antoine
On 2/9/11 6:52 PM, Jesse Campbell wrote:
> Apologies if I¹m in the wro
Rhino,
did you try with the passive option to yes?
S.
> I'm losing connections via the FTP task in Ant. I'm running Ant 1.7.1 in
> Eclipse 3.5.1 (Galileo). I am running the Ant script directly from
> within Eclipse, not from the command line. commons-net-2.0 and
> jakarta-oro-2.0.8 are both visi
Hello John,
I can reproduce your problem.
This snippet works :
what changes is dir="." for the fileset and remotedir="hazards".
You can generate stack dumps under Java 1.6 using the jstack utility.
Would you mind entering a bug report in bugzilla (
http://issues.apache.
Thanks for your prompt reply Antoine! I've experienced the same
symptoms w/ a GET request. Listed below is the command run w/ debug on.
I'm not sure how to get the stacktrace you mention.
--john
[...@lynx ftptest]$ /extra/contrib/ant-1.8.0/bin/ant -d
Apache Ant version 1.8.0 compiled on Februar
You might want to use the attribute remotedir="hazards".
The semantics of the ftp task are not easy ...
Antoine
Antoine Levy Lambert wrote:
Hello John,
you might not be doing anything wrong. Could you generate a stack dump
so that we find out exactly what happens ?
Also, could you try othe
Hello John,
you might not be doing anything wrong. Could you generate a stack dump
so that we find out exactly what happens ?
Also, could you try other ftp actions such as either getting or putting
a file, whatever you can try most conveniently ?
Regards,
Antoine
John Cartwright wrote:
H
also, you are using part of the ant 1.4.1 distribution.
(jakarta-ant-1.4.1-optional.jar)
Mixing parts of different ant versions will not work.
Peter
On 9/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> As in every software project ... could you update to a newer version?
> Ant 1.6.2 is very
Subject: RE: Ftp task question again
Do you know ahead of time what the filenames might be?If so, then
you could do something like this:
For one of the files.
-Original Message-
From: Robertson, Julie [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 01, 2007 1:28 PM
To: Ant Users List
Do you know ahead of time what the filenames might be?If so, then
you could do something like this:
For one of the files.
-Original Message-
From: Robertson, Julie [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 01, 2007 1:28 PM
To: Ant Users List
Subject: Ftp task question again
S
>I dont know if there is enough evidence to distinguish a bug in ant from
some FTP server config.
I am pritty sure it is a bug with Apache Ant ftp-task, becuase I am
overcomming this invoking directly the class:
org.apache.commons.net.ftp.FTPClient
I can't use wildcards, because
David wrote:
(Read this message, it is more readeable)
I have to get a file from the server,
but the name has to be encloses by ' symbol, for example:
'foo.txt', but Ant process the file name an eliminates the
delimitors. I have tested the ftp action with a file without '
on its nam
Have you tried viewing the source code for the ftp get task? This might give
you the answer.
> -Original Message-
> From: David [mailto:[EMAIL PROTECTED]
> Sent: Monday, May 22, 2006 5:19 PM
> To: Ant Apache User Group
> Subject: ftp task fails when file has ' (apostrophe symbol)
>
>
>
You cannot use FTP to transfer files to or from an SSH server.
Two options:
1) Make sure you have an FTP server running and point the ftp task to
port 23, the default port for FTP.
2) Use the scp task.
-Rob A
> -Original Message-
> From: Venkatesh Vijayakumar04 [mailto:[EMAIL PROTECTED]
http://www.iana.org/assignments/port-numbers
Jeffrey E. (Jeff) Care
[EMAIL PROTECTED]
IBM WebSphere Application
Server Development
WAS Pyxis Lead
Release Engineer
"Venkatesh Vijayakum
Hi, Rhino
> I am getting this crash in the middle of an FTP task; it is trying to
> copy a directory containing 50 or 60 files in a variety of
> subdirectories from my PC to a remote server:
> [ ... ]
>
> E:\eclipse\3.1.1\eclipse\workspace\Resume_JDK_1.5.0\xml\build.xml:368:
> error during FTP tr
PM
> To: 'Ant Users List'
> Subject: RE: FTP Task Question
>
> Yes, I have common-net.jar, jakarta-oro.jar, and and netcomponents.jar in
> my ANT_HOME/lib and I still get the standard error message. Is there
> anything special I need to do to enable ant to read the n
: Friday, February 13, 2004 10:28 AM
To: [EMAIL PROTECTED]
Subject: RE: FTP Task Question
If you have a look in the manual ("Installing Ant | Library Dependencies")
you´ll see a couple of needed libs.
Do you have them installed?
Jan
> -Original Message-
> From: Tonte
2004 4:42 PM
To: Ant Users List
Subject: RE: FTP Task - missing class
Chere do I get netcomponents.jar? I'm using 1.5.4
-Original Message-
From: Vijay Prasanna [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 4:38 PM
To: Ant Users List
Subject: RE: FTP Task - missing class
Yep.
I do an echo %ant_home% and stick it in the \lib right under it.
-Original Message-
From: Fyler, Cody A [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 4:43 PM
To: 'Ant Users List'
Subject: RE: FTP Task - missing class
Have you tried placing it right in AN
Chere do I get netcomponents.jar? I'm using 1.5.4
-Original Message-
From: Vijay Prasanna [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 4:38 PM
To: Ant Users List
Subject: RE: FTP Task - missing class
If you are using ant 1.5.4 copy the netcomponents.jar file,
If yo
Have you tried placing it right in ANT_HOME\lib?
-Original Message-
From: Mattos, John [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 3:33 PM
To: Ant Users List
Subject: FTP Task - missing class
I'm trying to use the FTP task, but I keep getting the
" Ant could not find the ta
If you are using ant 1.5.4 copy the netcomponents.jar file,
If you are using ant 1.6.0 copy the commons-net.jar file,
under ANT_HOME\lib.
no need to meddle with classpath
-Original Message-
From: Mattos, John [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 4:33 PM
To: Ant
- Original Message -
From: "Blanchet Samuel" <[EMAIL PROTECTED]>
Sent: Tuesday, July 29, 2003 3:17 PM
> I'm not able to get file with the FTP task.
>
> java.lang.NoSuchMethodError
> at org.apache.tools.ant.taskdefs.optional.net.FTP.transferFiles(
You need to have a look in the a
24 matches
Mail list logo