Welcome Guest ( Log In | Click here to Register a free account now! )
Welcome to Bleeping Computer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.| Important Announcement: The winners of the BC Million Post contest have been announced. You can read who the winners are at this post. - BleepingComputer Management |
![]() ![]() |
Oct 13 2005, 02:36 AM
Post
#1
|
|
|
Member ![]() ![]() Group: Members Posts: 57 Joined: 18-April 05 Member No.: 17,350 |
|
|
|
|
Oct 13 2005, 09:24 AM
Post
#2
|
|
![]() Hail Groovicus! ![]() ![]() ![]() ![]() ![]() ![]() Group: Site Admin Posts: 6,217 Joined: 5-June 04 From: Vermillion, SD Member No.: 689 |
Have you considered maybe rolling your own VBScript? Just right off hand, this little snippet copies a file:
CODE dim filesys, demofile set filesys = CreateObject ("Scripting.FileSystemObject") set demofile = filesys.CreateTextFile ("c:\somefile.txt", true) set demofile = filesys.GetFile("c:\somefile.txt") demofile.Copy("c:\projects\someotherfile.txt") Taken from here (with explanations): http://www.devguru.com/Technologies/vbscri.../file_copy.html Although unless you are copying them for backup purposes, I don't know why you would need that step. It's not like it is going to upload the actual files. **************** This little snippet schedules the task (In this case running notepad three times a week). It would have to be modified for every 15 minutes, but easily doable with some research: CODE strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set objNewJob = objWMIService.Get("Win32_ScheduledJob") errJobCreated = objNewJob.Create _ ("Notepad.exe", "********123000.000000-420", _ True , 1 OR 4 OR 16, , , JobID) Wscript.Echo errJobCreated A complete listing of options and and explanation of what you are looking at can be found here:http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/win32_scheduledjob.asp If that isn't quite what you want, here is a snippet of code for a timer: CODE Function TimeIt(N) Dim StartTime, EndTime StartTime = Timer For I = 1 To N Next EndTime = Timer TimeIt = EndTime - StartTime End Function TimeitTakes=TimeIt(10000) Response.write TimeitTakes This can then be modified so that if 15 minutes have passed, then execute your copy and upload function. http://www.codefixer.com/codesnippets/vbsc...er_function.asp ********* Uploading a file is quite a bit more complex, so I won't put up any samples for that, but they are easily researched also. But on the downside, you don't have the flexibility that PyroBatch allows, there will be no logging (unless you include that in your custom script). Incidentally, as the name suggests, PyroBatch is just using simple batch files. I can't imagine that it would be disrupting performance that much, unless you are attempting to upload some really large files. And while I am still thinking out louyd, usually the only reason for frequent uploads is for server backup, in which case you really shouldn't be using it for a workstation anyway.. not that it is any of my business. -------------------- |
|
|
|
Oct 16 2005, 05:33 PM
Post
#3
|
|
![]() Bleeping Hacker ![]() ![]() ![]() ![]() ![]() ![]() Group: BC Advisor Posts: 1,978 Joined: 14-April 04 From: Texas Member No.: 151 |
I dont have any reccommendation on any of these, but here is a list of auto-uploaders.
http://www.freedownloadscenter.com/Best/auto-upload-ftp.html -------------------- |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 22nd November 2008 - 07:51 AM |