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

2006-12-20 Thread JWM
rg Subject: AW: FTP "Depends" option for size as well as date? The catches all files which were already selected my storing their MD5-hash (other algorithms could be plugged in). So that could help if you change the timestamp locally. It does not help if your upload breaks. Jan

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 two bytes of 100

RE: Generating rotating file name?

2006-03-02 Thread JWM
Jan, Haven't actually used scripts in ant before. But definitely seems like the way to go. I added the bsf jar and the js jar (decided javascript was the easiest). But I'm apparently still missing some other lib. I get the following exception. What jar file do I still need to add? (Or am I so

Generating rotating file name?

2006-03-01 Thread JWM
I need to generate a 4-cycle rotating file name based on the day (first day = "file.1", second day = "file.2, .. fifth day = "file.1" (repeating). Basically I need to generate a string that is "Julian date mod 4" to append to my base filename. with the DateFormatter gives me a lot of options. B

RE: Ant FTP Hangs -- Additional Info

2006-02-28 Thread JWM
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56) -Original Message- From: JWM [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 28, 2006 3:30 PM To: 'Ant Users List' Subject: RE: Ant FTP Hangs Rhi

RE: Ant FTP Hangs

2006-02-28 Thread JWM
same file each time. I'll check out the other FTP task and see if I have better luck. In the meantime, if anybody else knows a way to drill down with additional traces/logs to see precisely what is hanging, I'm willing to do the analysis. Thanks again. JWM -Original Message- From

Ant FTP Hangs

2006-02-28 Thread JWM
I have an ant script that date checks and FTPs several thousand files. Ant gets a portion of the way through it and hangs (I run -verbose). I'll run it again, and it'll get further (apparently because more files have already been transferred each iteration), then hang again. But it appears to be