Jump to content

Copy file(s) to multiple machines in multiple locations


Recommended Posts

This issue has been confuse me for quite a long time.

If you manage 100PCs at 5 different locations and there is a file you need to copy to 10 PCs at that 5 locations,

what is the best way to do it?

I need to find a reliable way because I regulary need it and I need it to spend my time as little as possible

(except the time for make the coding of course).

My current best thinking is:

1. Upload the source file to the cloud

2. Let my compiled script run on scheduler on those 100Pcs, so it can regulary check if there is a new order/new file

to be downloaded, where to put, etc.

My other thinking is using TCPSend() and TCPRecv() but seems this is too advanced for me.

Please suggest :)

Thank you very much :)

Link to comment
Share on other sites

personally I find your way good, because all the computers refer to the same server.

when a certain event is met, computers that need the file will connect to the server or to the cloud if you want to manage more servers and check for the file they missed.

currently i am trying to understand how to send files over TCP which like you said it doesn't seem so easy.

if exist other methods it would be cool because they'd make all more simple.

see ya! :bye:

ehi ehi ehi, what is your name?

Link to comment
Share on other sites

you should consider a more general purpose solution for automation.

your initial idea is good: set up each pc with a scheduled task, or a script that runs at startup, and that script directs to a central server, and performs whatever instructions it finds there.

the instructions may be anything: copy files, launch msi install, perform registry tweaks, report pc status to the central server, self update, whatever. you can make it dependent on host name, IP range, time window, whatever.

the point is, you set up the scheduled task once on each pc, then you need only define the instructions. very cheap on time criteria.

Signature - my forum contributions:

Spoiler

UDF:

LFN - support for long file names (over 260 characters)

InputImpose - impose valid characters in an input control

TimeConvert - convert UTC to/from local time and/or reformat the string representation

AMF - accept multiple files from Windows Explorer context menu

DateDuration -  literal description of the difference between given dates

Apps:

Touch - set the "modified" timestamp of a file to current time

Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes

SPDiff - Single-Pane Text Diff

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...