Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

auto updater

by srinuk (Initiate)
on Aug 22, 2001 at 12:13 UTC ( [id://106892]=perlquestion: print w/replies, xml ) Need Help??

srinuk has asked for the wisdom of the Perl Monks concerning the following question:

Hi group iam new to perl. Iam trying to create a auto updter from the server to a cient. Like Symantec (Norton Anti Virus) which gives remote updates. example live update. I would be greatful if any body can support with code. it shoudl wrok on linux platforms.

Replies are listed 'Best First'.
Re: auto updater
by Petruchio (Vicar) on Aug 22, 2001 at 13:28 UTC
    I would be greatful if any body can support with code.

    Heh... I think we've all got a few projects we'd like folks to support with code. :-) Unfortunately, we usually wind up having to do them ourselves.

    I'd have to guess and say that you're going to be hard pressed to find people to write code to implement your concept, at least until you've already got a bunch written. But don't let that discourage you. If you're trying to learn Perl... as are we all... you'll find people here very helpful.

    Start off with little tasks you can do successfully, and build from there. It's unlikely you'll be able to tackle your master project all at once, but by always trying things a little beyond your present skill level, you get better fast. Read the perldocs in our fine Library, maybe work your way through the book Learning Perl. If you're not sure where to find the information you're looking for, use the amazing Super Search. And if you get stuck, ask a question, either in the Chatterbox (which comes with instructions), or in Seekers of Perl Wisdom.

    When you do post a question, be sure to explain the symptoms, not just the problem. The best mechanic in the world can't help you if all he knows is, "my car won't start", and programming's no different. Include the relevant code, enclosed in <code> tags, and the output, including error messages. And, of course, describe your objective clearly.

    Oh yeah... and before someone else says it, use strict and the -w flag in your code. They'll save you trouble sooner or later.

    Welcome to the monastery, and good luck with Perl.

      hi i'm not about to start coding for you, but even with a fairly limited grasp of perl you should be able to create a simple autoupdater. unless I'm missing something here all you would need to create would be a script that logs on to your main server, checks for the update file (opens it & reads it to check it is a needed update, or just datename the file) and then downloads it and inserts/overwrites where necessary. run it on a cronjob at whatever time you want and hey presto, I doubt it would be more than 50 lines (and thats my appalling coding effort).
      hope that helps (in a little way :))
      t

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://106892]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2024-04-23 19:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found