473,385 Members | 1,901 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,385 software developers and data experts.

comparing a dir with files on a web page

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
4 1002
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
> 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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Wescotte | last post by:
I'm writing a tiny php app that will log into our bank of america account and retrieve a file containing a list of checks that cleared the previous day. The problem I'm running into is when I...
4
by: ddd | last post by:
I am trying to build a diff tool that allows me to compare two HTML files. I am looking for resources on how to achive this. The main problem is that I do not want to simply highlight the line of...
6
by: Holger Kasten | last post by:
Hello, I am looking for a fast and efficient way to compare two text files and create a thrid one. E.g. Input file 1: Number 1 Number 2
0
by: richardkreidl | last post by:
I have the following hash script that I use to compare two text files. 'Class Public Class FileComparison Public Class FileComparisonException Public Enum ExceptionType U 'Unknown A 'Add...
3
by: s99999999s2003 | last post by:
hi i wrote some code to compare 2 files. One is the base file, the other file i got from somewhere. I need to compare this file against the base, eg base file abc def ghi eg another file
3
by: system55 | last post by:
are there any commands that can compare two files? Comparing in the sense that the two files are alike... Because I wrote a program that makes a backup file of another file... Just want to know if...
20
by: Bill Pursell | last post by:
This question involves code relying on mmap, and thus is not maximally portable. Undoubtedly, many will complain that my question is not topical... I have two pointers, the first of which is...
3
by: =?Utf-8?B?UG9vamE=?= | last post by:
Hi I have been using Microsoft XmlDiffPatch to compare 2 XML files. I wanted to know if there is any Microsoft Tool which can be used to compare two HTML files in the similar manner or any...
1
by: Avi1 | last post by:
Hi, I got the code (from the internet)for comparing two files and showing the difference in contents.Now,I tried the same code for two files written in japanese language(kanji).If I save the two...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.