Sunday, 15 April 2012

asp.net - File count from web folder in C# -



asp.net - File count from web folder in C# -

how count total file website folder?

string uri = "http://company.co.id/folder/" public int counttotalfile(string uri) { ... homecoming total; }

sorry, have no thought , can't provide website url.

thanks in advance.

agree reply "it's not possible list of files via http" here add together comments different method access folder "crawler".

is possible simulate crawler check of links in company's folder shared in website?

if meet file, must contains suffix like: *.exe, *.txt , etc. check string , count it.

i supply methods information, hopes can help prepare issue :).

c# asp.net .net directory

No comments:

Post a Comment