Microsys
        

Schedule and Automate Website Download Tool with Command Line

Command Line Support in A1 Website Download

You can use a command line interface to automate all the major website download tools in the program.

This means that you can also use external applications and bat / batch / script files.

This enables you to run our website download software at regular intervals using e.g. Windows Task Scheduler.
  • Parameters:
    • ":%project-path%" : Where %project-path% should contain the path to the project. (Remember the colon before project path.)
    • "@override_rootpath=http://example.com@" : Overwrite website rootpath.
    • "-exit" : Exits when done.
    • "-hide" : Always invisible and exits when done.
    • "-scan" : Runs website scanner.
    • "-stop0000" : Stops scan after a number of seconds, e.g. -stop600 stops scan after 10 minutes.
    • "-save" : Saves project.
    • "@override_savefilespath=c:\example@" : Overwrite where downloaded website files are stored on computer.
    • "@override_defaultstoragename=example@" : Overwrite the default storage file name used when an URL can not be directly converted to a path on disk.
  • Examples:
    • [ "c:\microsys\website\Download.exe" -exit -scan -save ":c:\microsys\website\download\my-project.ini" ].
    • [ "Download.exe" -exit -scan -save ":my-project.ini" ]. (Good for testing when placing all files in the same directory.)
  • Tips:
    • To prevent a parameter value that contains spaces (e.g. if you are passing a directory path) from being broken up, enclose it inside a couple of "".


Automate Website Download with Windows Command Line and Batch Files

  • Create a batch file, e.g. "batch-file.bat", using any standard text editor
  • Example of what to write underlined: [ "c:\microsys\website\Download.exe" -exit -scan -save ":c:\microsys\website\download\my-project.ini" ].
  • Save your batch file. You can now call it yourself or from other programs and scripts.


Schedule and automate Website Download with Windows Task Scheduler


schedule automate website download
  • Open Control Panel | Scheduled Tasks | Add Scheduled Task. Follow the guide.
  • Open the generated website download time scheduled item to edit details, e.g. command line paramaters.

Webmaster and website software tools


Business and desktop software utilities

Website and webmaster guides


Search engine optimization help

 © Copyright 1997-2012 Microsys