The CLI allows for non-interactive downloading of content. It is best suited for batch and scripting scenarios.

Usage

WCOPY uri | project [OPTION...]

Tip

If using a project file as the source, any additional arguments will override values loaded from the project file.

Parameters

ParameterDescription
uriSpecifies the remote URL to download
projectThe filename of a WebCopy project
/o <file | folder>Specifies the output filename for a single URL, or folder for recursive downloads. If not specified, StdOut will be used for single file, or the current folder for recursive. Has no effect when referencing a WebCopy project or via the GUI interface
/mode <mode>Specifies the crawl mode. Available values are Domain, SubDomains, SiblingDomains, External, LinkResources and ParentDomain
/recursiveEnables scanning of the downloaded URL for further files to download. Has no effect when referencing a WebCopy project or via the GUI interface
/nomapDisables the remapping document references within downloaded files. Only applies to recursive downloads. Has no effect if the URL parameter references a WebCopy project
/emptyEmpties the destination folder of all files and sub folders. Only applies to recursive downloads. Has no effect if the URL parameter references a WebCopy project
/header <header>Defines a custom header to send with each request
/max-redirect <count>The maximum redirect chain length
/no-directoriesDisables directory creation. All output files will be in the same folder
/preheadEnables the use of the HEAD verb
/no-preheadDisables the use of the HEAD verb
/proxy <address>Proxy server address
/proxy-user <user>Proxy server user name
/proxy-password <password>Proxy server password
/useragent <agent>Defines a custom user agent
/input-file <file>The name of a text file containing a list of URLs to process
/H or /?Display this message.
/LOG <file>Writes output to a log file. If <file> is not specified, a default name will be used
/LOGAPPENDIf set and the log file already exists, new data will be appended to the file, otherwise the log is recreated
/QUIETSuppresses most standard output
/PAUSEPrompts the user to press a key before the program is exited
/NOLOGODo not display the startup banner and copyright message.
/VERSIONDisplay version information only.
/STATISTICSDisplay execution statistics.
/NOCRASHREPORTDisable automatic crash logging and solution checking.
/list-argumentsDisplays how input arguments were interpreted, then exits without performing any actions