Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^4: File Copy over Domain

by Anonymous Monk
on Feb 08, 2013 at 10:03 UTC ( [id://1017787]=note: print w/replies, xml ) Need Help??


in reply to Re^3: File Copy over Domain
in thread File Copy over Domain

I have windows machine in a domain. Now I need to run a perl executable on x machines in the domain. Okay?

Now there is this one main server which throws the perl executable to thses x machines . This perl exe generates a output file which keeps on modifying. The reult files needs to be pulled by server from x machines and then they are compiled at server for final result. Server needs to pull these result files after every y minutes. Can i do that?

What i do now is that i create a share on server and the writing the result files to it as Corion already suggested. But then i lose connection and it creates a problem. So Now I want to create reult files on x machines and then want server to pull them after y min.How to do it?

Replies are listed 'Best First'.
Re^5: File Copy over Domain
by Corion (Patriarch) on Feb 08, 2013 at 10:20 UTC

    I would consider one of <trike>three four approaches:

    1. On each client: Use rsync to upload the file from the client, possibly retrying every five minutes. Rsync can resume transfers that broke instead of starting fresh every time.
    2. On the server: Use rsync to download the files from the clients on the server, possibly retrying every five minutes. Rsync can resume transfers that broke instead of starting fresh every time.
    3. On the server: Use File::Copy on the server to copy the file from the client using an Admin Share (\\machine\C$\)
    4. Push a second Perl executable to the clients that uploads the files. If the client has no network connection, it won't receive the "upload now" command.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-03-29 11:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found