Names/Size of files in Https server

  • Thread starter Thread starter jyoti
  • Start date Start date
J

jyoti

hi,

We have a requirement wherein we have to find the names of the
files/size present in the https server and Download the files based on
certain size /naming criteria.
Please help us out in getting the names/size of the files in the server.



Thanks
Jyoti
 
Let me again explain what needs to be extarcted.
ACtually on a https:// site, there is the listing of files..
Something like this

Time of uploading <Dir> File1
Time of uploading <Dir> File2
Time of uploading 12312432 File3
Time of uploading 12312432 File4

Now we want to know the names of the files and their sizes so that we
can download only particular file of some specified length.

How to retrieve the names of These Files(File1,File2..) and Sizes from
the https server.

I hope this explains what extactly is the issue

Waiting for the responses..





Thanks
Jyoti
 
jyoti said:
Let me again explain what needs to be extarcted.
ACtually on a https:// site, there is the listing of files..
Something like this

Time of uploading <Dir> File1
Time of uploading <Dir> File2
Time of uploading 12312432 File3
Time of uploading 12312432 File4

Now we want to know the names of the files and their sizes so that we
can download only particular file of some specified length.

How to retrieve the names of These Files(File1,File2..) and Sizes from
the https server.

I hope this explains what extactly is the issue

Waiting for the responses..

Do you expect or have any server-side support for retrieving the
necessary directory listings? You cannot fetch this kind of information
unless the server allows directory browsing...

Cheers,
 
Hi joerg..

The directory browsing is enabled in server side....Please let me know
now how to get the names..
actually as far as i Know there is an Inbuilt security feature of IIS
which does'nt allow to fetch this kind of information about the
files..Please let me know how far I m correct..





Thanks
Jyoti
 
jyoti said:
Hi joerg..

The directory browsing is enabled in server side....Please let me know
now how to get the names..

Fetch the page using WebClient.DownloadData() and parse the HTML page
with the file listing. Certainly not elegant, but gets the job done.

Cheers,
 
Back
Top