WebArchiveX COM is a full-featured tool that lets you create web archive MHT files. Please see the introduction page for an extensive overview.
Not sure you can use it? Not sure how to use it? Have any other questions? Please don't hesitate to contact our Tech. Support. All you questions will be answered within 24 hours.
Performance Note: In order to improve performance we recommend to use MaxThreadCount property. InspectMarkups, InspectScripts and LowerUrls methods also . If you use WebArchiveX in ASP, we recommend MakeArchiveStream. With this method you can write the result web archive MHT directly into ASP Response object.
Security Note: Please note that the process that launches WebArchiveX must have all needed file-system privileges in order to be able to create temporary directories, log files, output web archive MHT files etc.. It might be useful to run WebArchiveX as a raw-configured COM+ class if you need to impersonate an appropriate Windows account (that has all required permissions). Raw-configured COM+ class is a regular COM registered in COM+ but using no COM+ services (e.g. Just-in-time Activation, Transactions or Synchronization). For more information please refer to "Transactional COM+: Build Scalable Applications".
Name | Description |
LicenseCode | Set the license code received from C Systems |
Initialize | Restores the initial state of WebArchiveX module |
MakeArchive | Build MHT web archive (single MHT file) |
MakeArchiveStr | Build MHT web archive and returns it as a string |
MakeArchiveStream | Build MHT web archive and writes it into an output stream |
MakeArchiveFromDoc | Build MHT web archive from an HTML document object |
MakeArchiveZip | Builds MHT web archive compressed in ZIP (use .zip extension) |
MakeArchiveGz | Builds MHT web archive compressed in GZ (use .mht.gz extension) |
SetCharset | Change default encoding charset |
AddMimeType | Add new / replace existing MIME type |
RemoveMimeType | Remove existing MIME type |
ClearMimeTypes | Remove all registered MIME types |
AddResourceTag | Add new / replace existing resource tag |
RemoveResourceTag | Remove existing resource tag |
ClearResourceTags | Remove all registered resource tags |
AddScriptType | Add new / replace existing script type |
ClearScriptTypes | Remove all registered script types |
AddServerScriptType | Add new / replace existing server script type |
ClearServerScriptTypes | Remove all registered server script types |
AddMarkupType | Add new / replace existing markup type |
ClearMarkupTypes | Remove all registered markup types |
AddFile | Manually add files to the output web archive |
AddPreParsingFilter | Add regular expression filter to apply before parsing |
ClearPreParsingFilters | Remove all pre-parsing filters |
AddPostParsingFilter | Add regular expression filter to apply after parsing |
ClearPostParsingFilters | Remove all post-parsing filters |
GetSystemTempDir | Retrieves the path of the directory designated for temporary files |
ZipFile | Compress a single file into a ZIP archive |
SetCredentials | Set user credentials for accessing protected web sites |
SetProxyCredentials | Set user credentials for archiving through a protected proxy |
ArchiveAndEncrypt* | Build and encrypt web archive |
ArchiveAndSend* | Build and email web archive |
ArchiveZipAndSend* | Build and email compressed web archive |
ArchiveEncryptAndSend* | Build, encrypt and email web archive |
DecryptToFile* | Decrypt web archive into file |
DecryptToString* | Decrypt web archive into a stream object |
* - These
methods require properly registered CapiCom.dll and WebArchiveXUtils.dll
(included in "Utils" directory of WebArchiveX distribution)
Name | Description |
LogFile | Set log file path |
LogLevel | Sets minimal log level |
SpiderLevel | Sets maximal spider level. |
LinkMending | Sets whether links should be updated |
LinkMessage | Message for out-of-scope links |
LowerUrls | Set to True for case-insensitive web servers |
TempDir | Custom temporary directory, empty by default |
CallbackWindow | Handle of window that will receive progress messages |
CallbackMessageID | Progress message ID. Default is WM_USER + 1 |
BaseDir | Path to an alternative base directory |
InfoWindow | Window handler to receive progress report messages |
InfoMessageID | Progress message ID. Default is WM_USER + 1 |
InspectMarkups | If True WebArchiveX scans all markup files scrupulously |
InspectScripts | If True WebArchiveX scans all script files scrupulously |
RootDomainOnly | If True WebArchiveX spiders the root domain only |
DirIsMarkup | If True WebArchiveX considers directory URLs as markups |
Version | Read-only, returns WebArchiveX version string |
DelTempFiles | If True, WebArchiveX will remove temporary files after archiving |
ProxyUrl | Write-only, sets URL of Internet proxy server |
ProxyPort | Write-only, sets port of Internet proxy server |
HttpTimeout | HTTP timeout value (milliseconds) |
MaxThreadCount | Size of the internal thread pool |
AddBaseTag | If True WebArchiveX will add/overwrite <BASE> tag |
-
WebArchiveX Website - C Systems Website -