It's not documented but it is there. I use the XML version of the API, here's a snippet of the XML I get from calling listFile...
0 32 ... 32 37
i.e. totalcount is returned alongside count.
Categories: PogoPlug Development
Hi pogo devs,
Using the API, is there a way to fetch the total file count in a directory? The listfiles method doesn't seem to have a "total count" output parameter.
The my.pogoplug.com app incorporates paging when browsing a large directory, so it seems a total count value must be obtainable -- that's assuming the app uses the API.
I'd like to incorporate paging in the app i'm building, but it's not doable with no total count.
Thanks!
tim
It's not documented but it is there. I use the XML version of the API, here's a snippet of the XML I get from calling listFile...
0 32 ... 32 37
i.e. totalcount is returned alongside count.
OK, so you can't include XML in replies...
Anyway, totalcount is returned alongside count, at the same level of nesting.
Did you forget your password?
You can also log in using OpenID.