Link to home
Start Free TrialLog in
Avatar of ammartahir1978
ammartahir1978Flag for United Kingdom of Great Britain and Northern Ireland

asked on

how to automate a file transfer

hi everyone,

I have a microsoft windows 2003 server and every sunday a job runs on one server and create some files, which then some zip them and leave it in the same folder,
is there a way i can copy that zip file by setting up a schudler every sunday and copy it across to an other windows server 2003 machine which is sitting in an other location (not the same office)
the connection is always establsh between two office and i can see the machine.

Please help!!!
Avatar of bradleys40
bradleys40

you could create a batch routing to copy the files using either a mapped network drive or an unc path.
for example
xcopy c:\your folder\*.ZIP \\server name\sharename this would copy all zip files choose your own switches depending on requirement
Avatar of ammartahir1978

ASKER

thans bradley but how can i schulde it so that it runs on specific time.
SOLUTION
Avatar of hbustan
hbustan
Flag of Kuwait image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
just create a file that contains this and call it something.bat then schedule the task using the scheduler
this link contains diagrams and information on using windows scheduler
http://www.iopus.com/guides/winscheduler.htm
please guys can you please explain step by step as i am new to it

i have created a bat file
and add a command
xcopy  D:\data\public\datadump1\iandata*.zip Y:\
(y is the mapped drive letter for \\192.168.0.10\user\pgoodway\ian data\)

and i saved this file as BAT file ...now what should i do?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
To use the scheduling service on Windows 98, NT, 2000, click on the My Computer icon located on the Desktop. Then double-click on Control Panel to get to the Scheduled Tasks folder.

On Windows XP and Server 2003 you can access this from the Start Menu and clicking on Settings and then Control Panel to Scheduled Tasks