Solved

folder monitoring software/automatically move files

Posted on 2013-01-04
2
572 Views
Last Modified: 2013-01-17
Anyone know of software, freeware preferable, that will monitor a folder on a Windows7 64 bit workstation, and then transfer it automatically to another folder?  The other folder is on a folder that is shared off of a Server 2008R2 box.
I have seen programs like this in the past but never had need for one.  I need one that can monitor the folder and transfer any files in it to the network folder automatically.

Thanks
0
Comment
Question by:AE_JB
2 Comments
 
LVL 17

Assisted Solution

by:Kent Dyer
Kent Dyer earned 300 total points
ID: 38745160
You can craft your own..  Setup a Windows Scheduled Task and have it repeat every 5 minutes or so...

FileSystemObject
Use the server fso.fileexsts and if there is a file in there, then act on it..

Set fso = CreateObject("Scripting.FileSystemObject")
If fso.fileexists("D:\WatchFolder\*.ext") Then
Set objFolder = fso.GetFolder("D:\WatchFolder\")
Set colFiles = objFolder.Files
For Each objFile In colFiles
	FLPath = objFile.Path
	fso.movefile "D:\WatchFolder\", "E:\NewFolder\"
Next
	End If

Open in new window


HTH,

Kent
0
 
LVL 39

Accepted Solution

by:
footech earned 200 total points
ID: 38745201
You can actually use Robocopy to do this.
robocopy sourcedir \\srv\destdir /mov /mon:1

Open in new window

You can specify to move files only when a certain number of changes are detected, or you could run it something like 5 minutes after a change is detected with the /mot switch.  All this could also be set to run via the Task Scheduler so that you don't have to be logged on or remember to start the task.
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
AD user acount change history 4 57
Windows 2008 R2 _MSDSC Delegation 8 38
Windows server 2008 5 33
DNS Scavenging configuration 5 24
Scenario:  You do full backups to a internal hard drive in either product (SBS or Server 2008).  All goes well for a very long time.  One day, backups begin to fail with a message that the disk is full.  Your disk contains many, many more backups th…
I had a question today where the user wanted to know how to delete an SSL Certificate, so I thought that I would quickly add this How to! Article for your reference. WHY WOULD YOU WANT TO DELETE A CERTIFICATE? 1. If an incorrect certificate was …
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

744 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

10 Experts available now in Live!

Get 1:1 Help Now