473,412 Members | 2,284 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,412 software developers and data experts.

Names/Size of files in Https server

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
--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Nov 23 '05 #1
6 1547
B
Have you looked into the FileInfo object?

--Brendon

"jyoti" <jy*********@gmail.com> wrote in message
news:u6****************@TK2MSFTNGP10.phx.gbl...
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
--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com

Nov 23 '05 #2
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
--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Nov 23 '05 #3
jyoti wrote:
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,
--
http://www.joergjooss.de
mailto:ne********@joergjooss.de
Nov 25 '05 #4
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
--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Nov 28 '05 #5
jyoti wrote:
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,
--
http://www.joergjooss.de
mailto:ne********@joergjooss.de
Nov 28 '05 #6
Thanks Joerg..
I tried this method and It is working..

Thanks
Jyoti
--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Nov 29 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Ken | last post by:
How can I determine a image file size before uploading it? I would like to make sure the size is under a maximum before taking the time to upload it. If I have to upload the file before...
14
by: Peter Chant | last post by:
I'm currently authenticating a site I have built using basic http authentication built into apache. This has zero overhead on php which is a bonus but it seems to not quite work how I'd like. ...
1
by: news.microsoft.com | last post by:
Hello and first of all thank you for your time. I am currently developing an ASP.net web page, which has data stored in SQL Server. It is a web page for a State Agent and my problem is: I need...
0
by: jyoti | last post by:
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...
3
by: Hongbo | last post by:
Hi, We have a web site which needs user to login. After login, there are some files available for download on some pages. A typical link of such file is like this one:...
1
by: Eggy | last post by:
Hi. I have an application that should download files from internet. The problem is the protocol is HTTPS. So I have a System.Windows.Forms.WebBrowser which allows the user to log in to the HTTPS...
8
by: Daniel Crespo | last post by:
Hello everybody, I'm trying to implement a secure xmlrpc server with basis on http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/496786 recipe. The thing that I'm concerned about is how can...
6
by: Miro | last post by:
I can run an exe ( and its install ) i have created on my machine. The exe has a button that populates a dataset and then shoots it to a crystal report. But... Installing the setup.exe on my...
4
by: Miro | last post by:
<i have also added this reply to the other newsgroup - now that I have realizd ( and assuming ) it is not a localized error directly to vb.> I have found this link on the website:...
20
by: Peter Olcott | last post by:
Is there any standard C++ way to determine the size of a file before it is read?
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.