Many files on a remote web server may not behave normally when executed from the local file systems, such as .php
or .aspx
. WebCopy can handle this by changing the extensions of downloaded content to match their mime type. For example, .php
and .aspx
would be renamed to .html
.
By default, WebCopy will attempt to remap app files based on their content type, except files using the application/octet-stream
type, however the following options are available.
Option | Description |
---|---|
Never | No extension remapping is performed. This option is not recommended. |
Always | WebCopy will always try and remap extensions. |
Only if no extension present | URI's without an extension will be remaped, those with an extension will not be modified. |
Always, except for the specified exclusions | (Default) All URI's except those with a content type of application/octet-stream or with user defined extension or content type exclusions will be remapped. |
Changing the extension remap mode
- From the Project Properties dialog, click the Local Files category
- In the Remap file extensions by content type group, select an appropriate option
Specifying exclusions
- From the Project Properties dialog, click the Local Files category
- In the Remap file extensions by content type group, enter exclusions into the Types to exclude field
- You can either enter file extensions, such as
png
into this field, or content types such asimage/png
- This field supports wildcards
When the mode is Always, except for the specified exclusions, the application/octet-stream
exclusion is implicit and cannot be disabled.
See Also
Customizing Projects
- Customizing Projects
- Specifying the web site
- Specifying the save folder
- Specifying how a website is crawled
- Specifying default documents
- Crawling additional root URL's
- Updating local time stamps
- Scanning custom attributes
- Fixing sites using mixed prefixes
- Extracting inline data
Advanced Project Customization
- Advanced Project Customization
- Configuring the behaviour of link maps
- Configuring domain aliases
- Specifying a User Agent
- Disabling header checking
- Following redirects
- Crawling above the root URL
- HTTP Compression
- Using a proxy server
- Crawling additional hosts
- Transforming URI's
- Configuring security protocols
- Defining custom headers