Re: Problems with ftp download

2023-03-04 Thread Stefan Bodewig
On 2023-03-03, Frank Tornack wrote: > I am trying to build apache ant from source and unfortunately have a > problem. > -fetch-netrexx-no-commons-net: > Getting: ftp://ftp.software.ibm.com/software/awdtools/netrexx/NetRexx.zip > To: /root/.ant/tempcache/NetRexx.zip > Er

Problems with ftp download

2023-03-03 Thread Frank Tornack
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi all I am trying to build apache ant from source and unfortunately have a problem. - -fetch-netrexx-no-commons-net: Getting: ftp://ftp.software.ibm.com/software/awdtools/netrexx/NetRexx.zip To: /root/.ant/tempcache/NetRexx.zip Error getting ftp

AW: AW: AW: problem with ftp

2013-11-30 Thread jhm
p.s.: Thanks Scot for your aid ;) Jan > -Ursprüngliche Nachricht- > Von: Jan Matèrne (jhm) [mailto:apa...@materne.de] > Gesendet: Samstag, 30. November 2013 10:52 > An: 'Ant Users List' > Betreff: AW: AW: AW: problem with ftp > > If someone comes with a pr

AW: AW: AW: problem with ftp

2013-11-30 Thread jhm
tag, 30. November 2013 07:09 > An: Ant Users List > Betreff: RE: AW: AW: problem with ftp > > I too thought it was darn condescending that he ignored my original > question entirely. > > I said: > >>>>> I have absolutely NO variables in my macrodef.

RE: AW: AW: problem with ftp

2013-11-29 Thread David Coleman
y data of the file I'm trying to transfer. I am not an ANT >>>>> guru, but something here seems very very very wrong. I'm not usually one to respond as I did. but I felt like he was very condescending to ME. I only reach out for help when I'm SURE that it is somethin

RE: AW: AW: problem with ftp

2013-11-29 Thread Scot P. Floess
ll teach you to not dismiss people so casually. From: apa...@materne.de To: user@ant.apache.org Subject: AW: AW: problem with ftp Date: Fri, 29 Nov 2013 08:47:48 +0100 and i specifically stated: I have absolutely NO variables in my macrodef. I could see that. But the error message "Syntax

RE: AW: AW: problem with ftp

2013-11-29 Thread David Coleman
own a different error, since NO PROPERTIES were actually involved. like i said. thank you again. hopefully this will teach you to not dismiss people so casually. > From: apa...@materne.de > To: user@ant.apache.org > Subject: AW: AW: problem with ftp > Date: Fri, 29 Nov 2013

AW: AW: problem with ftp

2013-11-28 Thread jhm
; check for the libraries that > are required for the FTP task. they are totally irrelevant. If they are totally irrelevant - have you tried to strip down your build code? Just remove the safety at the moment and delete all instructions that are not required, e.g. availability checks of ext

RE: AW: problem with ftp

2013-11-28 Thread David Coleman
deployHoftest is the macro which i provided in this question. and i specifically stated: > > I have absolutely NO variables in my macrodef. "checkAntCommons" and "checkJakartaOro" check for the libraries that are required for the FTP task. they are totally irrelevant.

AW: problem with ftp

2013-11-28 Thread jhm
t happens there (or in the target from where you call deployHoftest). Jan > -Ursprüngliche Nachricht- > Von: David Coleman [mailto:david_coleman_...@hotmail.com] > Gesendet: Donnerstag, 28. November 2013 20:35 > An: user@ant.apache.org > Betreff: problem with ftp > > h

problem with ftp

2013-11-28 Thread David Coleman
hello list! I have an issue with my ftp task in ANT 1.9.1 here is my ftp task: I know that i successfully connect to my server because I get

FTP Jar dependencies Ant 1.8.4

2013-08-04 Thread Patrick Fay
Hi, I am having issues trying to use the FTP task with Ant 1.8.4. I have included the necessary jar files in my ant/lib folder as shown below however the ftp task is still been listed unavailable due to a missing dependency (com.oroinc.net.ftp.FTP). Is this a known bug with this version. Any

Re: ant task ftp

2013-01-11 Thread Joe Black
Hi, When I run it with the new version commons-net-3.2, there is no error. But even if there is a file on the ftp server, it was not downloaded. The process completed without raising error. I even tried to run with debug and compare the two versions. The only difference is that with the old

Re: ant task ftp

2013-01-09 Thread Antoine Levy Lambert
to understand why the ftp does not work with commons-3.2.jar. Does the build hang ? Is there an extra dependency which is missing ? Patches are welcome :-) Regards, Antoine On Dec 26, 2012, at 12:38 AM, Joe Black wrote: > Hi, > > > I am using ant to download the files from the se

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

ftp task and Java 7

2011-08-03 Thread Joe Black
Until now, I am using Java 1.6.0_26 and apache ant 1.8.2 and commons-net 2.2 and jakarta-oro-2.0.8 to use the ant task ftp, to download some files from a server using ID and password and using the file names. I just upgraded from Java 1.6.0_26 to Java 1.7.0 and try to run the same program

Ant ftp task “Could not date test remote file”

2011-02-19 Thread Boris Hamanov
Hi guys! I am using Ant ftp task to deploy my project files to a remote app server. Ant is not able to detect the date of the remote file and it re-uploads all files every time. When I start Ant in debug mode it says: [ftp] checking date for mailer.war [ftp] Could not date test remote file

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

FTP task incredibly slow when listing files

2011-02-09 Thread Jesse Campbell
Apologies if I¹m in the wrong place... I¹ve tried searching and none of the results I¹ve come up with are even close to my problem. I am using the ftp task to pull down a list of files on an ftp server, my task looks like this: It appears (though I have not verified through packet analysis

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 archiv

FTP won't work

2011-01-05 Thread Satch
When I try to use ftp to delete or copy a war file it connects and logs on but will not send the data. It just hangs and eventually times out. FTP works fine from the command line and the Finder (I'm using a mac). Any ideas what the problem could be? -- View this message in context: http:

AW: avoid ftp get if files are too old?

2010-10-25 Thread Jan.Materne
This will upload only the 'modified' files (independ of the date). Jan >-Ursprüngliche Nachricht- >Von: dangerop [mailto:nabbl...@hotmail.com] >Gesendet: Samstag, 9. Oktober 2010 01:34 >An: user@ant.apache.org >Betreff: avoid ftp get if files are too ol

Re: avoid ftp get if files are too old?

2010-10-11 Thread dangerop
name and use an old datestamp. Thanks! KaJun -- View this message in context: http://ant.1045680.n5.nabble.com/avoid-ftp-get-if-files-are-too-old-tp3205466p3207865.html Sent from the Ant - Users mailing list archive at Nabble.com. ---

Re: avoid ftp get if files are too old?

2010-10-09 Thread David Weintraub
o" which means it will download all the files even if you already have that file. Try setting it to "yes" and see if that helps. If the "depends" parameter doesn't work for you, a possibility is to use the task to execute a command in your FTP server get a listing of

avoid ftp get if files are too old?

2010-10-08 Thread dangerop
Hi, I've got a situation where we run a weekly process to download files off an ftp site once a week. I've got an Ant build file which will connect to the server and download the files, but I'd like to avoid downloading them if the files are from the previous week. I was thin

Ant FTP task: adding progress indicator and timeout

2010-08-22 Thread Evgeny Goldin
Hi All, I had to add a progress indicator to Ant's FTP task and blogged recently about how it can be done: http://evgeny-goldin.com/blog/2010/08/18/ant-ftp-task-progress-indicator-timeout/ Hope it'll help other people if they need to do the same. -- Best regards, Evgeny htt

Re: What's Up with FTP task?

2010-03-01 Thread Robert Anderson
t; > [1] http://ant.apache.org/manual/install.html#librarydependencies > > > Rhino wrote: > > I'm really getting frustrated with the Ant FTP task. > > > > For most of the last two days, I have been trying to FTP a moderate > > sized collection of files to fi

Re: What's Up with FTP task?

2010-02-27 Thread Antoine Levy-Lambert
Hi, commons-net-2.0 could be the culprit. Try with commons-net-1.4.0. I have looked at our library dependencies manual page [1] Regards, Antoine [1] http://ant.apache.org/manual/install.html#librarydependencies Rhino wrote: > I'm really getting frustrated with the Ant FTP task. >

What's Up with FTP task?

2010-02-27 Thread Rhino
I'm really getting frustrated with the Ant FTP task. For most of the last two days, I have been trying to FTP a moderate sized collection of files to first one server, then to another server. In virtually every case, my target has stalled at some point within the target but rarely in the

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 > jaka

FTP task timing out

2010-02-26 Thread Rhino
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 visible to the FTP tasks. I am trying to access m

Re: FTP task

2010-02-08 Thread Antoine Levy-Lambert
nt.helper.DefaultExecutor > Adding reference: ant.executor > Build sequence for target(s) `ftptest' is [ftptest] > Complete build sequence is [ftptest, ] > > ftptest: > parsing buildfile > jar:file:/extra/contrib/ant-1.8.0/lib/ant.jar!/org/apache/tools/ant/antlib.xml > with URI = &

Re: FTP task

2010-02-08 Thread John Cartwright
st' is [ftptest] Complete build sequence is [ftptest, ] ftptest: parsing buildfile jar:file:/extra/contrib/ant-1.8.0/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/extra/contrib/ant-1.8.0/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file [ftp] Opening FTP connec

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, cou

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

FTP task

2010-02-08 Thread John Cartwright
Hello All, I'm trying a simple FTP task w/ v. 1.8.0 and it seems to connect OK, but hangs at the execution of the list command. Can someone please point out what I'm doing wrong? Thank

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 u

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

Copy some renamed files via ftp protocoll

2010-01-11 Thread Gerhard.Krill
hey guys, I need some help with ANT. This should be the right place to find some qualified people :) ok, here is my task: I want to copy some files, within an for-loop. Except a special sort of files where I have to add a timestamp. like this:

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:

FTP works in 1.6.5, fails in 1.7.1

2009-12-07 Thread Ken Turner
over with a null pointer exception. Have I missed something here? -- View this message in context: http://old.nabble.com/FTP-works-in-1.6.5%2C-fails-in-1.7.1-tp26677097p26677097.html Sent from the Ant - Users mailing list archive at Nabble.com

Re: Ho Do I ftp put files only if the don't exist at target

2009-12-03 Thread Mark Salter
Nordmeyer wrote: > With ANT? > How? http://ant.apache.org/manual/CoreTasks/sync.html might be just what you are after. The top level for the 'fm' is http://ant.apache.org/manual/ , one for your bookmarks perhaps. Regards, -- Mark --

Re: Ho Do I ftp put files only if the don't exist at target

2009-12-02 Thread Nordmeyer
With ANT? How? -- View this message in context: http://old.nabble.com/Ho-Do-I-ftp-put-files-only-if-the-don%27t-exist-at-target-tp26608607p26621717.html Sent from the Ant - Users mailing list archive at Nabble.com. - To

Re: Ho Do I ftp put files only if the don't exist at target

2009-12-02 Thread Robert Anderson
Try rsync. On Wed, Dec 2, 2009 at 5:11 AM, Nordmeyer wrote: > > Hi, > I would like to update a ftp remote site with files that exist locally > ignoring files that already exist at the remote site - only comparing by > file name. > > I Found this posting > htt

Ho Do I ftp put files only if the don't exist at target

2009-12-02 Thread Nordmeyer
Hi, I would like to update a ftp remote site with files that exist locally ignoring files that already exist at the remote site - only comparing by file name. I Found this posting http://old.nabble.com/forum/ViewPost.jtp?post=811530&framed=y http://old.nabble.com/forum/ViewPost.jtp?

Re: Ant FTP giving Connection Timed Out Error

2009-05-21 Thread Kevin Jackson
Hi, > I am doing FTP using ANT script and the target as follows: > >   remotedir="/pub/incoming" port="21" > >       >   > Try setting the retriesAllowed to -1 to keep retrying Kev --

Ant FTP giving Connection Timed Out Error

2009-05-21 Thread Srinivas_A
Hi All, I am doing FTP using ANT script and the target as follows: When i run the copyFileToRemoteFTP, it is giving Connection timed out: connect ERROR But i am able to do the ftp(GET/PUT) operation using Command prompt without getting any error. c:\>ftp host Could you ple

Re: Ant FTP Task related question

2009-04-22 Thread sridhar bitkuri
;send' action and 'put' action? > 2, Any way to make ant FTP task upload empty folder as well? > 3, Any way we can chmod 777 folders with Ant FTP task? > > Thanks, > -xin > > - > To unsubscribe,

Re: Ant FTP Task related question

2009-04-22 Thread Antoine Levy-Lambert
Hello Xin, send and put seem to be exactly the same according to the documentation. I am not sure whether you can make the ftp task upload empty folders. I do not see any action defined in the documentation to run chmod. Regards, Antoine Xin CHEN wrote: > Hi All, > > I have been

Ant FTP Task related question

2009-04-20 Thread Xin CHEN
Hi All, I have been search on Google about my question and couldn't find. So I am here: 1, What's the difference between 'send' action and 'put' action? 2, Any way to make ant FTP task upload empty folder as well? 3, Any way we can chmod 777 folders wi

Re: ANT FTP Error

2009-01-20 Thread Peter Reilly
See: http://ant.apache.org/manual/install.html#librarydependencies you need commons-net.jar and (it seems) jakarta-oro.jar. Place these files in $HOME/.ant/lib, or in $ANT_HOME/lib and the ftp task should work. Peter On Tue, Jan 20, 2009 at 8:07 AM, VELPULA, Ashok Kumar wrote: > Hi > &

ANT FTP Error

2009-01-20 Thread VELPULA, Ashok Kumar
Hi I have been trying to connect FTP using the ANT 1.7.1 below is my sample script: Result: Could not create type ftp due to java.lang.NoClassDefFoundError: org/apache/commons/net/ftp/FTPClientConfig But when I

sudden problem with ftp to site

2009-01-10 Thread Patrick Waugh
All of a sudden, when I run my usual build script, I get this: [ftp] sending files BUILD FAILED /home/patrick/repo/dib/common/build.xml:103: could not put file: 425 Could not open data connection to port 50055: Connection timed out The site is up and running, and I can connect to it myself from

Re: How to create remote directory without using ftp?

2008-12-02 Thread Raffaele
re you that this code works fine. > > I hope this helps. > > -- > Rhino > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/How-to-create-remote-directory-without-using-ftp--tp20735701p20789184.html Sent from the Ant - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to create remote directory without using ftp?

2008-11-28 Thread Reinhardt Christiansen
Raffaele wrote: Hi all, I'm running ANT from Maven, and I would like to create some directory on a server. I have seen scp task which helped me to do remote file copy, very well. Now, I'm not understanding how to create a directory on my server, scp doesn't do this, is it right? I've tried al

How to create remote directory without using ftp?

2008-11-28 Thread Raffaele
-to-create-remote-directory-without-using-ftp--tp20735701p20735701.html Sent from the Ant - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Optional classpath entry support for FTP task

2008-09-25 Thread Nan Null
I haven't found the solution to this, however, I pass the following to the ant command as a parameter -lib \commons-net-1.4.1.jar -lib \jakarta-oro-2.0.8.jar If you find your solution, please let me know. The problem I think is that ftp task was defined already in a parent classloader. I

Optional classpath entry support for FTP task

2008-09-23 Thread Greg Roodt
Hi I would like to specify the jar locations for the optional FTP task in the build.xml, in the same way that it can be done for the JUnit task. Does anybody know if this can be done? My initial investigations show that the commons-net and oro jars must be added into ANT_HOME/lib or .ant/lib or

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

FTP Problems in 1.7.0

2008-06-09 Thread Reinhardt Christiansen
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 task? I'm f

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

FTP Problems in 1.7.0

2008-06-06 Thread Reinhardt Christiansen
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 and send actions a

Ant FTP Task - FTPDirectoryScanner.checkRemoteSensitivity

2008-04-17 Thread Leung, Wilson
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

Re: Leap Year Bug in Ant 1.7.0 FTP task - Daylight Savings?

2008-03-10 Thread Shay Thompson
I noticed today that a few of my servers which run the Ant FTP task failed on Sunday when they were working on Saturday, almost as if they're now having a problem with daylight savings. I also noticed that only the machines running Java 1.5.0_11 are failing while those with 1.5.0_0

RE: Leap Year Bug in Ant 1.7.0 FTP task?

2008-03-06 Thread Francis Brennan
List; [EMAIL PROTECTED] Subject: RE: Leap Year Bug in Ant 1.7.0 FTP task? ALL: Note that Ant's FTP task uses commons-net, which received a flurry of bug reports relating to the leap day issue on Feb 29. This says to me that there is around a 99% chance that the bug lies in commons-net, and t

RE: Leap Year Bug in Ant 1.7.0 FTP task?

2008-03-06 Thread Matt Benson
ALL: Note that Ant's FTP task uses commons-net, which received a flurry of bug reports relating to the leap day issue on Feb 29. This says to me that there is around a 99% chance that the bug lies in commons-net, and that Ant is for the most part powerless. -Matt --- Jukka Uusisalo &l

RE: Leap Year Bug in Ant 1.7.0 FTP task?

2008-03-06 Thread Gilles Scokart
s, Gilles > -Original Message- > From: Jukka Uusisalo [mailto:[EMAIL PROTECTED] > Sent: jeudi 6 mars 2008 14:16 > To: 'Ant Users List' > Subject: RE: Leap Year Bug in Ant 1.7.0 FTP task? > > > -Original Message- > > From: Francis Brennan [mailto:

RE: Leap Year Bug in Ant 1.7.0 FTP task?

2008-03-06 Thread Jukka Uusisalo
> -Original Message- > From: Francis Brennan [mailto:[EMAIL PROTECTED] > Sent: 5. maaliskuuta 2008 23:48 > To: user@ant.apache.org > Subject: Leap Year Bug in Ant 1.7.0 FTP task? > > > Has anyone else run across a bug in the FTP task in Ant 1.7.0 > relat

Re: Leap Year Bug in Ant 1.7.0 FTP task?

2008-03-06 Thread Steve Loughran
Francis Brennan wrote: Has anyone else run across a bug in the FTP task in Ant 1.7.0 related to Feb 29th timestamps?. I've used the FTP task as part of an automated system to retrieve builds from a server and has been functioning reliably for many months without change. Beginning on Feb

Leap Year Bug in Ant 1.7.0 FTP task?

2008-03-05 Thread Francis Brennan
Has anyone else run across a bug in the FTP task in Ant 1.7.0 related to Feb 29th timestamps?. I've used the FTP task as part of an automated system to retrieve builds from a server and has been functioning reliably for many months without change. Beginning on Feb 29th at 12:00 AM, al

How can we use the checksum task (or another ant task) to compare that the ftp worked

2008-02-26 Thread Vijay Aravamudhan
hi, We have a client where a build process creates artifacts (jar, exe) and uses the scp task to copy them over to an ftp server. Once this process completes, an email is sent to the offshore team asking them to verify that the file sizes (obtained from the build machine) are the same for

Re: adding an if-then statement to ftp target...

2008-01-25 Thread Christopher Styles
't. > > Another option is to use the AntContrib task. This is a bit > easier to follow, but you now depend upon installing the AntContrib > library. > > On Jan 25, 2008 1:02 PM, Christopher Styles <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I'm using t

Re: adding an if-then statement to ftp target...

2008-01-25 Thread David Weintraub
installing the AntContrib library. On Jan 25, 2008 1:02 PM, Christopher Styles <[EMAIL PROTECTED]> wrote: > Hi, > > I'm using the ant ftp task to ftp files from my local Windows 2003 Build > Server to a remote Unix environment, and the issue I'm facing is the local &

adding an if-then statement to ftp target...

2008-01-25 Thread Christopher Styles
Hi, I'm using the ant ftp task to ftp files from my local Windows 2003 Build Server to a remote Unix environment, and the issue I'm facing is the local folders(s) that contain the files that are to be ftp'ed don't always exist The folder(s) only get created if there ar

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

2007-09-27 Thread Peter Reilly
f the libraries. There were problems with > incompatible versions... > > > But btw - nice post. Contains a lot of needed information ;) > > > Jan > > >-Ursprüngliche Nachricht- > >Von: Z [mailto:[EMAIL PROTECTED] > >Gesendet: Donnerstag, 27. September 20

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

2007-09-26 Thread Jan.Materne
007 03:33 >An: user@ant.apache.org >Betreff: FTP Task doesn't work with ANT with all JARs included > >Hi > >Platform - windows XP >Env Variables - >name - ANT_HOME Value - C:\apache-ant-1.6.2 >name - JAVA_HOMEValue - C:\Program Files\Java\jdk1.5.0

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

2007-09-26 Thread Z
ord_db -> doongo411 Setting project property: oracle_username -> oracle Setting project property: oracle_password -> innopath Could not load a dependent class (org/apache/tools/ant/util/Retryable) for type ftp BUILD FAILED C:\Documents and Settings\ABC\Desktop\imdm5\build.xml:20: Could not cre

RE: ANT FTP task

2007-06-27 Thread sarancse
June 27, 2007 9:09 AM >> To: user@ant.apache.org >> Subject: ANT FTP task >> >> >> I am unable to upload a file using the following ANT script. >> I am having commons-net-1.4.0.jar and jakarta-oro-2.0.8.jar >> in my ANT lib. Please help to upload succe

RE: ANT FTP task

2007-06-27 Thread Anderson, Rob (Global Trade)
What is the output of the build? What is the error? -Rob A > -Original Message- > From: sarancse [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 27, 2007 9:09 AM > To: user@ant.apache.org > Subject: ANT FTP task > > > I am unable to upload a file using

ANT FTP task

2007-06-27 Thread sarancse
://www.nabble.com/ANT-FTP-task-tf3989267.html#a11327351 Sent from the Ant - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

AW: ANT FTP tsk

2007-06-27 Thread Jan.Materne
gt;Betreff: ANT FTP tsk > > >Hi I am used the following build script to upload files to >remote server >using ANT >I had included jakarta-oro-2.0.8.jar and commons-net-1.4.0.jar >to ANT lib. >But still I got the following error. >Invalid byte 1 of 1-byte UTF-8 sequenc

ANT FTP tsk

2007-06-27 Thread sarancse
this... -- View this message in context: http://www.nabble.com/ANT-FTP-tsk-tf3989162.html#a11327021 Sent from the Ant - Users mailing list archive at Nabble.com.

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

ftp put x as y

2007-06-26 Thread Chris Velevitch
How to I ftp a file so that it gets a different name on the server? Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group m: 0415 469 095 www.flashdev.org.au - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: Ftp task question again

2007-05-01 Thread Robertson, Julie
By using the wildcard character I could build the file name, but how do I specify the server and location of the file, or do I actually do that inside the ftp task? -Original Message- From: Loehr, Ruel [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 01, 2007 1:34 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

Ftp task question again

2007-05-01 Thread Robertson, Julie
Sorry about sending this again, I guess I removed myself from the users list in error, so I wanted to add myself back in and resend this in case someone has an idea to solve my issue. I am trying to copy files using the ftp task and a fileset include which is working just fine. The problem I am

Files exist using ftp task?

2007-05-01 Thread Robertson, Julie
Good day all, I am trying to copy files using the ftp task and a fileset include which is working just fine. The problem I am having is I need to know when 0 files retrieved so that I can send an email if the files are not there. Is there a way to check to see if the files exist using the ftp

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

Re: FTP for Japanese file names

2007-02-13 Thread Sann Maung
te: > > 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 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

FTP for Japanese file names

2007-02-09 Thread Sann Maung
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. I thought that kanji needs UTF-16, so I tried

RE: java.lang.AbstractMethodError: org/apache/commons/net/ftp/FTPFileEntryParser.parseFTPEntry

2007-01-31 Thread Tracy Jones
Since I didn't get any comments on this - what I did was write a shell script to do the ftp because the FTP code does not seem to work with j9 :-( it works, but it's a hack... -Original Message- From: Tracy Jones Sent: Thursday, January 25, 2007 3:07 PM To: 'Ant Users Li

RE: java.lang.AbstractMethodError: org/apache/commons/net/ftp/FTPFileEntryParser.parseFTPEntry

2007-01-25 Thread Tracy Jones
The issue is definetly with using j9. If I change my x86 platform to use j9 instead, I get the same issue. This version of j9 is based on java version 1.3. Does anyone know if it is possible to get this to work?? Here's the stack trace java.lang.AbstractMethodError: org/apache/commons/ne

java.lang.AbstractMethodError: org/apache/commons/net/ftp/FTPFileEntryParser.parseFTPEntry

2007-01-25 Thread Tracy Jones
Hi - I am trying to use the optional FTP package with ant 1.7 running under IBM j9 1.4. I get the following error when using ftp. This works on a x86 maching using j2sdk1.4.2_08 [echo] Failed: java.lang.AbstractMethodError: org/apache/commons/net/ftp/FTPFileEntryParser.parseFTPEntry

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

2006-12-21 Thread Steve Loughran
ch" of all the files locally and force upload of everything to guarantee that all the files are valid. But re-uploading 6 hours each time is just not practical when perhaps 95% of the files are still good. I'm a java programmer. I'm willing to modify the ftp task to meet my needs if

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

2006-12-21 Thread Jan.Materne
>the files are valid. But re-uploading 6 hours each time is >just not practical when perhaps 95% of the files are still good. I thought the same while writing >I'm a java programmer. I'm willing to modify the ftp task to >meet my needs if it's not a huge tas

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

2006-12-20 Thread JWM
all the files locally and force upload of everything to guarantee that all the files are valid. But re-uploading 6 hours each time is just not practical when perhaps 95% of the files are still good. I'm a java programmer. I'm willing to modify the ftp task to meet my needs if it's

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

2006-12-20 Thread Jan.Materne
TECTED] >Gesendet: Mittwoch, 20. Dezember 2006 17:05 >An: 'Ant Users List' >Betreff: FTP "Depends" option for size as well as date? > >I use the FTP task extensively with the 'depends' option to >keep all of the files on my server in sync with my local

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

2006-12-20 Thread JWM
I use the FTP task extensively with the 'depends' option to keep all of the files on my server in sync with my local copy. The problem is that I tranfer many huge files (audio/video) and periodically, an FTP will die in the middle of a transfer. The problem is that even if only tw

  1   2   3   >