Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Script/Program that automates file transfers?

Posted on 2004-10-21
Medium Priority
Last Modified: 2010-03-18
Hello all,
    I am just wondering if anyone has experience with a program or script that automates file transfers on a set schedule.  Here is my situation.  We have an overseas office in China that needs to share files with our NY office.  However, a direct connection over the WAN has proven to be way too slow.  So I have pointed the Chinese office to use our Korean file server as a place to store files that need to be shared (Both our Chinese and NY office have a decent connection to the Korean file server).

 Is there a program/script that will run off of the korean server that will automatically copy a file folder from the Chinese server at say 5 am and transfer the files to NY at 8am.  Then do the reverse at the end of the workday in NY?  Thanks in advance!
Question by:PeteH67
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 71

Expert Comment

by:Chris Dent
ID: 12370334

Scheduled Tasks? And a batch file?

FTP? or Windows Network?
LVL 71

Expert Comment

by:Chris Dent
ID: 12370355

Basically... tell me how they're all connected and there's bound to be a way to do it.

Oh, and if it gets complicated, any preference for langauge? Admitedly I can only do VB Script and Perl ;)
LVL 18

Expert Comment

ID: 12371837
Do you have active directory? If the answer is Yes, look at dfs.
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.


Author Comment

ID: 12372371
The 4 offices (NY, Los Angeles, Korea, China) are all connected through a Cisco Full Mesh VPN.  We are using a Windows 2000 Network backend with Active Directory.
LVL 71

Accepted Solution

Chris Dent earned 500 total points
ID: 12372456

I've never really played around with DFS much, so if it can't do what you'd like then...

Wouldn't a batch file running as a Scheduled task deal with it? Perhaps using Robocopy (comes with the Server Resource Kit)


Something like:

RoboCopy "\\<Source Server>\<Share>" "\\<Target Server>\Share" * /E

With optional additions such as:

/E - Copies Subfolders, including empty ones
/COPY:DATS - Copies Data, Attributes, Timestamps and Security (NTFS).

A full list of it's commands and switches can be found here:


Please post again if neither suggestion helps.
LVL 18

Expert Comment

ID: 12379542
Microsoft has a document about dfs here:

To insure that data will be available to the two or more location, it's just necessary to build a replica of the dfs share. The replication can be done automatically or manual.

Featured Post

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question