aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes how to check the size of file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "how to check the size of file" Watch "how to check the size of file" New topic
Author

how to check the size of file

santhoshkumar samala
Ranch Hand

Joined: Nov 12, 2003
Posts: 156

Hi

I am using ant1.6.2 . How can I check the size of the file using ant. which ant task will help for this?


santhosh<br />SCJP,SCWCD
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41839
    
  63
I'm curious: If you had the size of the file, say, in a property - what would/could you do with it?


Ping & DNS - my free Android networking tools app
santhoshkumar samala
Ranch Hand

Joined: Nov 12, 2003
Posts: 156

I will have it in property.. but when the file is in remote place and it is in some CVS, then I dont want to get all the files and check the size but I will run the ant task which will show me the size of the files
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to check the size of file