Script/Program that automates file transfers?

Posted on 2004-10-21
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
    LVL 70

    Expert Comment

    by:Chris Dent

    Scheduled Tasks? And a batch file?

    FTP? or Windows Network?
    LVL 70

    Expert Comment

    by:Chris Dent

    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

    Do you have active directory? If the answer is Yes, look at dfs.

    Author Comment

    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 70

    Accepted Solution


    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

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    The Need In an Active Directory enviroment, the PDC emulator provide time synchronization for the domain. This is important since Active Directory uses Kerberos for authentication.  By default, if the time difference between systems is off by more …
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!

    913 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

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now