Re: ftp task and Java 7

2011-08-31 Thread Inmarri
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,

Re: FTP task incredibly slow when listing files

2011-02-10 Thread Antoine Levy-Lambert
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

Re: FTP won't work

2011-01-05 Thread Satch
Never mind i found a solution. I had to set passive="true". Have no idea why, I believe I've the firewall turned off. -- View this message in context: http://ant.1045680.n5.nabble.com/FTP-won-t-work-tp3328621p3328899.html Sent from the Ant - Users mailing list archive at Nabble.com. ---

Re: FTP task timing out

2010-02-26 Thread reno . rkcrew
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

Re: FTP task

2010-02-08 Thread Antoine Levy-Lambert
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.

Re: FTP task

2010-02-08 Thread John Cartwright
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

Re: FTP task

2010-02-08 Thread Antoine Levy Lambert
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

Re: FTP task

2010-02-08 Thread Antoine Levy Lambert
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

Re: FTP works in 1.6.5, fails in 1.7.1

2010-01-26 Thread Stefan Bodewig
On 2010-01-26, Simon Keen wrote: > I can get the ftp put to work but if I include a chmod or try to use the > chmod action it affects the first file in the fileset and then crashes with > a null pointer error. It does perform the chmod on the first item in the > list. > I was using 1.7.1 so I up

Re: FTP works in 1.6.5, fails in 1.7.1

2010-01-26 Thread Simon Keen
Any news on this one as I seem to be hitting a related problem? I noticed you had a chmod entry in your ftp put. I can get the ftp put to work but if I include a chmod or try to use the chmod action it affects the first file in the fileset and then crashes with a null pointer error. It does perf

Re: FTP works in 1.6.5, fails in 1.7.1

2009-12-07 Thread Antoine Levy Lambert
Hello Ken, would you mind sending a stack trace ? If you run your build with ant -verbose, the output will finish with the stack trace. Maybe this is a new, unknown bug, which should be entered in bugzilla. Regards, Antoine Ken Turner wrote: I have the following code snippet:

Re: FTP Problems in 1.7.0

2008-06-09 Thread Steve Loughran
Reinhardt Christiansen wrote: NOTE: I never saw this reply in my email client for some reason so I went into MARC and copied and pasted it in here, then reformatted it so that it now looks approximately right. >> Reinhardt Christiansen wrote: >> Can anyone help me with the Ant optional ftp

Re: FTP Problems in 1.7.0

2008-06-09 Thread Steve Loughran
Reinhardt Christiansen wrote: Can anyone help me with the Ant optional ftp task? I'm finally using Ant again for the first time in a couple of years and running into some problems. I'm using Ant 1.7.0 and my build is basically working fine, aside from some issues with the ftp task. My mkdir a

Re: FTP Task doesn't work with ANT with all JARs included

2007-09-27 Thread Peter Reilly
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

RE: ftp put x as y

2007-06-26 Thread Rebhan, Gilbert
Hi, -Original Message- From: Chris Velevitch [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 27, 2007 5:59 AM To: Ant Users List Subject: ftp put x as y /* How to I ftp a file so that it gets a different name on the server? */ 1.Simply rename them (with move) before ftp ? maybe 2.th

RE: Ftp task question again

2007-05-01 Thread Robertson, Julie
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

RE: Ftp task question again

2007-05-01 Thread Loehr, Ruel
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

Re: Re: FTP problems

2007-03-22 Thread mohdhamedmscse
Hi Every one, It was great help going through the messages. I am stuck at one point. I am getting an error in ant ftp task. error during FTP transfer: java.net.ConnectException: Connection refused: connect can any one help me out on this issue.. thanks Hamed. -- This message was sent on be

Re: FTP for Japanese file names

2007-02-13 Thread Sann Maung
Hi, Kanji characters are not included in build.xml. Only there are some file names with kanji characters are included in some directory. rgds, Sann Maung --- Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote: > Hello Sann, > > > On Feb 9, 2007, at 10:54 PM, Sann Maung wrote: > > I am using FTP

Re: FTP for Japanese file names

2007-02-10 Thread Antoine Levy-Lambert
Hello Sann, On Feb 9, 2007, at 10:54 PM, Sann Maung wrote: I am using FTP task to transfer the files using ant. Under normal circumstances, it is working fine. However, if the filenames are in Japanese characters, (eg. Kanji) then it becomes an error and the file transfer cannot continue.

Re: FTP "Depends" option for size as well as date?

2006-12-21 Thread Steve Loughran
JWM wrote: I lost you. Are you saying that if I change the timestamp locally, it will re-upload? I don't understand where the hash comes into play. If I change the date, it's going to upload anyway. Does somehow compare MD5 hash of the file on the server to the MD5 hash of the file locally?

RE: FTP "Depends" option for size as well as date?

2006-12-20 Thread JWM
I lost you. Are you saying that if I change the timestamp locally, it will re-upload? I don't understand where the hash comes into play. If I change the date, it's going to upload anyway. Does somehow compare MD5 hash of the file on the server to the MD5 hash of the file locally? If that is t

RE: FTP Issue

2006-08-01 Thread Wiles, Cory
-3103 > -Original Message- > From: Dominique Devienne [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 01, 2006 2:19 PM > To: Ant Users List > Subject: Re: FTP Issue > > Prefer forward slashes in properties file, even for windows > paths

Re: FTP Issue

2006-08-01 Thread Dominique Devienne
Prefer forward slashes in properties file, even for windows paths, as Ant and Java will do the right thing, and you can use when you really need windows-style filenames, but also your war.file is an absolute file, yet you conbine it with deploy.dir. There's probably an issue therer. --DD On 8/1/

RE: FTP

2006-07-28 Thread Anderson, Rob (Global Trade)
Not really enough information here. Please send the portion of your build.xml and the ouput when you run Ant. Also, specify the version of Ant and Jsch, as well as the FTP and/or ssh server distribution and version you are running on windows. -Rob A > -Original Message- > From: Venkatesh

Re: ftp task fails when file has ' (apostrophe symbol)

2006-05-22 Thread David
>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

Re: ftp task fails when file has ' (apostrophe symbol)

2006-05-22 Thread Steve Loughran
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

RE: ftp task fails when file has ' (apostrophe symbol)

2006-05-22 Thread Asaf Mesika
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) > > >

RE: FTP Task

2006-05-19 Thread Anderson, Rob (Global Trade)
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]

Re: FTP Task

2006-05-19 Thread Jeffrey E Care
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

RE: FTP ANT GET TASK EXCEPTION

2006-03-30 Thread Karthik
TED] Sent: Thursday, March 30, 2006 2:00 PM To: [EMAIL PROTECTED] Subject: RE: FTP ANT GET TASK EXCEPTION I guess the remote dir should be F:/Target and the server should hold the IP Address. Hope this helps. - Lydia. -Original Message- From: Karthik [mailto:[EMAIL PROTECTED] Sent: Thu

RE: FTP get problem

2006-03-07 Thread Anderson, Rob (Global Trade)
Check the permissions of the remote files. Can you get them with another FTP client using the same username and password? -Rob A > -Original Message- > From: Karthik [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 07, 2006 12:05 AM > To: user@ant.apache.org > Subject: FTP get problem >

RE: FTP get from Win32 server

2006-03-03 Thread Anderson, Rob (Global Trade)
As an alternative to using FTP, consider installing cygwin ssh server on the remote windows machine and using the task to get the files. I know this does not address your question, but I believe it is a better solution. -Rob Anderson > -Original Message- > From: Giovanni Mesturini [mailt

Re: FTP get from Win32 server

2006-03-03 Thread Jeffrey E Care
This is really a commons-net question; Ant doesn't play a role in parsing the FTP server responses. You might get further if you transfer this discussion to the commons-net mailing list. Jeffrey E. (J

Re: FTP task crashes - why?

2005-12-18 Thread Gilbert Rebhan
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

Re: FTP problems

2005-12-17 Thread Rhino
Thank you VERY much, Gilbert! That did the trick. I had completely forgotten the need to take that step in Eclipse. Rhino - Original Message - From: "Gilbert Rebhan" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Saturday, December 17, 2005 3:20 PM Subje

Re: FTP problems

2005-12-17 Thread Jeffrey E Care
ose from filesystem > or Add Jars if you put them into a project in your workspace > > > - Original Message - From: "Jeffrey E Care" <[EMAIL PROTECTED]> > > To: "Ant Users List" > > Cc: "Ant Users List" > > Sent: Sa

Re: FTP problems

2005-12-17 Thread Gilbert Rebhan
iginal Message - From: "Jeffrey E Care" <[EMAIL PROTECTED]> > To: "Ant Users List" > Cc: "Ant Users List" > Sent: Saturday, December 17, 2005 2:39 PM > Subject: Re: FTP problems > > >> Since you are running this in the Eclipse e

Re: FTP problems

2005-12-17 Thread Rhino
What more do I need to do/check then? Rhino - Original Message - From: "Jeffrey E Care" <[EMAIL PROTECTED]> To: "Ant Users List" Cc: "Ant Users List" Sent: Saturday, December 17, 2005 2:39 PM Subject: Re: FTP problems Since you are run

Re: FTP problems

2005-12-17 Thread Jeffrey E Care
Since you are running this in the Eclipse environment something else to make sure of is that commons-net & oro are actually on the Ant classpath _as used by Eclipse_ ; I don't think just dropping the JARs in the Ant plugin's "lib" directory is enough. -- Jeffrey E. Care ([EMAIL PROTECTED]) Web

Re: FTP problems

2005-12-17 Thread Rhino
- Original Message - From: "Antoine Levy-Lambert" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Saturday, December 17, 2005 2:09 PM Subject: Re: FTP problems Hello Rhino, please read the section installing ant / library dependencies of the manual. To

Re: FTP problems

2005-12-17 Thread Antoine Levy-Lambert
Hello Rhino, please read the section installing ant / library dependencies of the manual. To run ftp, you need commons-net and oro. The error message you have posted indicates that you do not have commons-net. > java.lang.NoClassDefFoundError: org/apache/commons/net/ftp/FTPClient > > at Cheers

Re: ftp question 1.5.4

2005-03-18 Thread Mike Starkie
Original Message- > From: Vadim Kazakov [mailto:[EMAIL PROTECTED] > Sent: March 16, 2005 2:18 PM > To: Ant Users List; Mike Starkie > Subject: RE: ftp question 1.5.4 > > You can use the > Attributes and then somehow parse the list.txt file in order to get each > file in tha

RE: ftp question 1.5.4

2005-03-16 Thread Vadim Kazakov
Didn't realize the listing was stored on the local computer. Then I guess my response doesn't really apply. -Original Message- From: Vadim Kazakov [mailto:[EMAIL PROTECTED] Sent: March 16, 2005 2:18 PM To: Ant Users List; Mike Starkie Subject: RE: ftp question 1.5.4 You c

RE: ftp question 1.5.4

2005-03-16 Thread Vadim Kazakov
You can use the Attributes and then somehow parse the list.txt file in order to get each file in that list. -Original Message- From: Mike Starkie [mailto:[EMAIL PROTECTED] Sent: March 16, 2005 2:08 PM To: user@ant.apache.org Subject: ftp question 1.5.4 I'm forced to use ant 1.5.4 and I

Re: ftp question 1.5.4

2005-03-16 Thread Matt Benson
--- Mike Starkie <[EMAIL PROTECTED]> wrote: > This works fine but there's one glitch: I want to > download junit.jar > and it's on the ftp server under junit/junit.jar, i > place a line in my > dependencies file: "junit/junit.jar" and the task > downloads the file > to a local directory called "j

Re: ftp question 1.5.4

2005-03-16 Thread Mike Starkie
This works fine but there's one glitch: I want to download junit.jar and it's on the ftp server under junit/junit.jar, i place a line in my dependencies file: "junit/junit.jar" and the task downloads the file to a local directory called "junit/junit.jar". Everything is fine except I don't want t

Re: ftp question 1.5.4

2005-03-16 Thread Matt Benson
You should try using a nested fileset with the ftp task, and setting the includesfile attribute of your fileset to the file containing the list of names. -Matt --- Mike Starkie <[EMAIL PROTECTED]> wrote: > I'm forced to use ant 1.5.4 and I would like ant to > read a list of > filenames stored in

Re: FTP Issue

2004-06-16 Thread Stefano Mancarella
On Monday 14 June 2004 11:17 pm, Steve Cohen wrote: How about commons-net-1.2.1 and ant 1.6.1? I don't THINK commons-net is the problem, but you might as well check. Well, I have the same problem with FTP get and I've done the test you suggest. It doesn't work with commons-net-1.2.1 and ant 1.6.

Re: FTP Issue

2004-06-03 Thread Steve Cohen
stems Inc. > awt.toolkit : sun.awt.windows.WToolkit > java.vm.info : mixed mode > java.version : 1.4.1_02 > java.ext.dirs : c:\java\j2sdk1.4.1_02\jre\lib\ext > sun.boot.class.path : > c:\java\j2sdk1.4.1_02\jre\lib\rt.jar;c:\java\j2sdk1.4.1_02 > \jre\lib\i18n.jar;c:\java\j2sdk1.4.1_02\jre\lib\sunrsasign.jar;c:\java\j2sd >k 1

RE: FTP Issue

2004-06-03 Thread Alan Zall
u.isalist : pentium i486 i386 # -Original Message- From: Steve Cohen [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 12:41 PM To: Ant Users List Subject: Re: FTP Issue Please send your ant script or the relevant portion. Also what version of jakarta-commons/net is on your cla

RE: FTP problem in Ant 1.5.3

2004-04-06 Thread Jan . Materne
> Okay, I've run it again with the -debug flag on. Here's what > I get (userid > and password obscured): > > [iftp] Error while connecting or logging into FTP Server. no more infos ... > BUILD FAILED: Target `none' does not exist in this project. ??? > I'm not sure how to do that. I started

Re: FTP problem in Ant 1.5.3

2004-04-06 Thread Steve Cohen
No, this is wrong. Ant < 1.6 requires NetComponents.jar, what commons-net used to be called. Ant >= 1.6 requires commons-net On Tuesday 06 April 2004 11:21 am, [EMAIL PROTECTED] wrote: > It seems that you need the Commons-Net library [1]. > I don´t know how to update Eclipse from Ant 1.5 to 1.6,

RE: FTP problem in Ant 1.5.3

2004-04-06 Thread Anderson, Kajsa
Anderson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 06, 2004 11:21 AM To: [EMAIL PROTECTED] Subject: RE: FTP problem in Ant 1.5.3 It seems that you need the Commons-Net library [1]. I don´t know how to update Eclipse from Ant 1.5 to 1.6, but I

RE: FTP Task Question

2004-02-13 Thread Sullivan, Sean C - MWT
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

RE: FTP Task Question

2004-02-13 Thread Tonte Pouncil
: 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

RE: ftp Login via proxy fails

2004-01-21 Thread Conelly, Luis (PS, GNF, Contractor)
Adrian, From Ant 1.6.0 manual[1] "This task does not currently use the proxy information set by the task, and cannot go through a firewall via socks." Unfortunately, I am not pretty sure about how to do this =( Regards -Luis [1] http://ant.apache.org/ma

RE: FTP Task - missing class

2004-01-12 Thread Vijay Prasanna
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

RE: FTP Task - missing class

2004-01-12 Thread Mattos, John
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

RE: FTP Task - missing class

2004-01-12 Thread Mattos, John
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

RE: FTP Task - missing class

2004-01-12 Thread Fyler, Cody A
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

RE: FTP Task - missing class

2004-01-12 Thread Vijay Prasanna
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

Re: ftp task

2003-07-29 Thread Antoine Levy-Lambert
- 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