1

I am trying a GET from ant but the problem if I invoke it twice, the file is downloaded twice, it should download only once because I have set the usetimestamp to true, what could be the issue?

This is the ant get command I am using:

<get src="..." dest="..."  verbose="true" usetimestamp="true" />

This is part of the log that I got:

[get] last modified = Wed May 17 10:51:19 EEST 2017
Wael
  • 1,533
  • 4
  • 20
  • 35

1 Answers1

0

sorry all I found the solution to my issue, the problem is that I had another line of code that is deleting the directory before calling the ant GET. Once I removed this line of code, the usetimestamp flag worked flawlessly.

Wael
  • 1,533
  • 4
  • 20
  • 35