Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Multiple FTP uploader

by zigster (Hermit)
on May 05, 2001 at 16:45 UTC ( [id://78222]=note: print w/replies, xml ) Need Help??


in reply to Multiple FTP uploader

To suggest a non perl solution, in the greatest tradition of why re-invent any round objects. You may want to take a look at the unix util rdist. Quote from rdist(1) below. Althought it does not solve your problem directly it may be of general interest.

Rdist is a program to maintain identical copies of files over multiple hosts. It preserves the owner, group, mode, and mtime of files if possible and can update programs that are executing. Rdist reads commands from distfile to direct the updating of files and/or directories. If distfile is `-', the standard input is used. If no -f option is present, the program looks first for `distfile', then `Dist- file' to use as the input. If no names are specified on the command line, rdist will update all of the files and direc- tories listed in distfile. Otherwise, the argument is taken to be the name of a file to be updated or the label of a command to execute. If label and file names conflict, it is assumed to be a label. These may be used together to update specific files using specific commands.


--

Zigster

Replies are listed 'Best First'.
Re (tilly) 2: Multiple FTP uploader
by tilly (Archbishop) on May 06, 2001 at 05:34 UTC
    Depending on your needs, I definitely prefer the reinvented wheel called rsync. Just because something has been invented doesn't mean that it cannot be usefully redone. It just means that you should think twice before you do it and have a reason. But wheels have been reinvented a few times over the last few thousand years, and on the whole I prefer the ones that we have today... :-)

    ObRandomObservation: Take a look. While you are not supposed to reinvent wheels, hubcaps seem to be a different story...

      COo ++, rdist is good but if there is better always worth a look. I will dl it at once.
      --

      Zigster

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-03-28 15:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found