ammartahir1978
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!!!
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!!!
ASKER
thans bradley but how can i schulde it so that it runs on specific time.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
this link contains diagrams and information on using windows scheduler
http://www.iopus.com/guides/winscheduler.htm
Technet also gives a great deal of information on scheduling
http://technet2.microsoft.com/windowsserver/en/library/6707dcc5-526b-4ee0-bc8b-d8cde1fb71711033.mspx?mfr=true
http://technet2.microsoft.com/windowsserver/en/library/6707dcc5-526b-4ee0-bc8b-d8cde1fb71711033.mspx?mfr=true
ASKER
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\i andata*.zi p Y:\
(y is the mapped drive letter for \\192.168.0.10\user\pgoodw ay\ian data\)
and i saved this file as BAT file ...now what should i do?
i have created a bat file
and add a command
xcopy D:\data\public\datadump1\i
(y is the mapped drive letter for \\192.168.0.10\user\pgoodw
and i saved this file as BAT file ...now what should i do?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
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
for example
xcopy c:\your folder\*.ZIP \\server name\sharename this would copy all zip files choose your own switches depending on requirement