Command Line SortSite Developer Manual
SortSite Developer Edition includes a command line tool called SortSiteCmd.
The command line takes one parameter, the name of a configuration file describing the site to scan:
Windows
"c:\Program Files (x86)\PowerMapper Software\SortSite 6\SortSiteCmd.exe" C:\Projects\Win\Test.ssconfig
"c:\Program Files (x86)\PowerMapper Software\SortSite 6 Trial\SortSiteCmd.exe" C:\Projects\Win\Test.ssconfig
Mac
/Applications/SortSite.app/Contents/MacOS/SortSiteCmd /Projects/Mac/Test.ssconfig
/Applications/SortSite Trial.app/Contents/MacOS/SortSiteCmdTrial /Projects/Mac/Test.ssconfig
Return codes:
- 0 - successful scan, with the expected number of issues found
- 1 - initialization failed (no license, installation issue or out of memory)
- 2 - invalid command line
- 3 - fatal crawl error (site blocked by robots.txt, invalid URL or unable to save report)
- 4 - unexpected number of issues found in any of the scanned sites (only returned if the
ExpectedResults
element is present in the configuration file)