• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to find a number of files downloaded to folder

 
sam liya
Ranch Hand
Posts: 1246
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have written a program to download pdf files to sdcard folder.I need to count the downloaded files to that folder.So how can i get the current counter for downloaded files ?because there may be a file which is partially downloaded ?
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As I recall, the downloading is handled by your own code - so it should be straightforward to keep a counter in your app, no?
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!