🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.nativeapi
Article #113

How to know if files was changed

#113
From: Bruno Lovatti
Date: Tue, 20 Jan 2004 15:41
19 lines
1519 bytes
Hello,

i need to send files through a tcp or ftp connection, no problem.

but i have a lot of files in the source folder, so i'd like to send only the
files changed since the last send.

i know how to this using the date+time of the file and keeping a database to
compare the dates the next time.

but i think it's possible by removing the archive bit from the file and
checking it in the next time.
is it possible?
is it secure? windows or another program will always set this archive bit
when change the file?

thanks!

Bruno
Technical Details
Message-ID: <400d4c35$3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!news-xfer1.atl.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f94dd,a5a9c9fc3a1e4771,start
X-Google-Attributes: gidf94dd,public
X-Google-ArrivalTime: 2004-01-20 07:46:50 PST
Reply-To: "Bruno Lovatti" <blovatti(remove this)@terra.com.br>
From: "Bruno Lovatti" <blovatti(remove this)@terra.com.br>
Newsgroups: borland.public.delphi.nativeapi
Subject: How to know if files was changed
Date: Tue, 20 Jan 2004 13:41:41 -0200
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 200.214.195.188
Message-ID: <400d4c35$3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1074613301 200.214.195.188 (20 Jan 2004 07:41:41 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!news-xfer1.atl.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail