By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,515 Members | 1,033 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,515 IT Pros & Developers. It's quick & easy.

comparing a dir with files on a web page

P: n/a
Hi Guys,
Help out a new user here
I want to compare a directory on my drive with files on a web page.

So my problem realy has two parts first the comparison.
I'm thinking of loading the files in two listboxes and looping through to
see if any two are the same. Is that a logical way to do it?

Then the part that I realy have no idea is getting the files off the web
page
I need to compare to see if I have them already and if not then to download
them.

I have seen a couple of posts on somehting like this (almost)
But am still in the dark
any hints? Or pointers?
BeeF
Nov 21 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
This cannot be too hard for you guys!
"BeeF" <__******@yahoo.com> wrote in message
news:43***********************@news.optusnet.com.a u...
Hi Guys,
Help out a new user here
I want to compare a directory on my drive with files on a web page.

So my problem realy has two parts first the comparison.
I'm thinking of loading the files in two listboxes and looping through to
see if any two are the same. Is that a logical way to do it?

Then the part that I realy have no idea is getting the files off the web
page
I need to compare to see if I have them already and if not then to
download them.

I have seen a couple of posts on somehting like this (almost)
But am still in the dark
any hints? Or pointers?
BeeF

Nov 21 '05 #2

P: n/a
> This cannot be too hard for you guys!
I think it is, because by instance files on a webpage is something completly
new at least for me. In addition there is more that I don't understand from
your message.

It is really hard to answer your question in my opinion.

I can think about something, however would be better if you tell more exact
what you want to do, and what you mean by instance with files on a webpage.

:-)

Cor

"BeeF" <__******@yahoo.com> wrote in message
news:43***********************@news.optusnet.com.a u...
Hi Guys,
Help out a new user here
I want to compare a directory on my drive with files on a web page.

So my problem realy has two parts first the comparison.
I'm thinking of loading the files in two listboxes and looping through to
see if any two are the same. Is that a logical way to do it?

Then the part that I realy have no idea is getting the files off the web
page
I need to compare to see if I have them already and if not then to
download them.

I have seen a couple of posts on somehting like this (almost)
But am still in the dark
any hints? Or pointers?
BeeF


Nov 21 '05 #3

P: n/a
Cor,
I was kidding, You mean I have chosen a hard one for my first app in .net?

Well to give you the background I want to have an app running on a laptop
that detects when on a network (maybe 10% of use) and when it is on network
to check files stored on Web page. If there are newer files available to
download them.

So I will have multi folders on my laptop then on detection of net I will
auto update if needed from the web.

I hope this kind of puts you more in the picture.

I guess kind of like an app that sits in the system tray or a tsr.

So three key areas
the tsr
the comparison of two lists of filenames
and then the downloading from the web

If anyone can start me in the right direction please.

BeeF
"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:ul**************@TK2MSFTNGP15.phx.gbl...
This cannot be too hard for you guys!

I think it is, because by instance files on a webpage is something
completly new at least for me. In addition there is more that I don't
understand from your message.

It is really hard to answer your question in my opinion.

I can think about something, however would be better if you tell more
exact what you want to do, and what you mean by instance with files on a
webpage.

:-)

Cor

"BeeF" <__******@yahoo.com> wrote in message
news:43***********************@news.optusnet.com.a u...
Hi Guys,
Help out a new user here
I want to compare a directory on my drive with files on a web page.

So my problem realy has two parts first the comparison.
I'm thinking of loading the files in two listboxes and looping through
to see if any two are the same. Is that a logical way to do it?

Then the part that I realy have no idea is getting the files off the web
page
I need to compare to see if I have them already and if not then to
download them.

I have seen a couple of posts on somehting like this (almost)
But am still in the dark
any hints? Or pointers?
BeeF



Nov 21 '05 #4

P: n/a
BeeF,

You have to make it yourself. However on this page is 80% for what you want
working. In addition I can assure you that it took a very long time of
searching on Internet to get everytime a very small part, something you
probably don't believe as you see how compact as it is..

Can you do yourself the rest. (You have to find yourself the right tags and
the innertext etc)

http://www.windowsformsdatagridhelp....f-56dbb63fdf1c
I hope this helps,

Cor
Nov 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.