• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 186
  • Last Modified:

Script/Program that automates file transfers?

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!
0
PeteH67
Asked:
PeteH67
  • 3
  • 2
1 Solution
 
Chris DentPowerShell DeveloperCommented:

Scheduled Tasks? And a batch file?

FTP? or Windows Network?
0
 
Chris DentPowerShell DeveloperCommented:

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 ;)
0
 
crissandCommented:
Do you have active directory? If the answer is Yes, look at dfs.
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
PeteH67Author Commented:
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.
0
 
Chris DentPowerShell DeveloperCommented:

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)

http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en

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:

http://www.ss64.com/nt/robocopy.html

Please post again if neither suggestion helps.
0
 
crissandCommented:
Microsoft has a document about dfs here:
http://www.microsoft.com/windows2000/techinfo/howitworks/fileandprint/dfsnew.asp

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.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now