checking to see if a file on an ftp server is newer (or different?) than the local file

Josh Mellicker josh at dvcreators.net
Wed Jun 21 21:02:36 EDT 2006


Thanks Sarah!

That's the direction I was going.


On Jun 21, 2006, at 3:49 PM, Sarah Reichelt wrote:

> On 6/22/06, Josh Mellicker <josh at dvcreators.net> wrote:
>> What is the method y'all use to check to see if a file on an ftp
>> server is newer (or different?) than the local file?
>>
>> (This is for a self-updating app with a "splash" app that downloads,
>> then runs a main stack.)
>>
>> MD5? Date/time? Version number in filename?
>>
>> Tanx in advance. 8^)
>
> I use the version number in the file name. I have a self-updating app
> with about 20 substacks. When I change one, I upload it with a file
> name like "efTimers204.rev.gz". The app logs in and sees that this is
> version 2.04. It checks a custom property of it's current
> "efTimers.rev" stack and if it is less than 2.04, it downloads the new
> one, uncompresses and installs it.
>
> HTH,
> Sarah
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list