Name

LFS_EXP — Export retrieved web site to the local file system

Synopsis

WS.WS. LFS_EXP ( in host varchar ,
in url varchar ,
in root varchar ,
in dst varchar );

Description

This function is used to export local content retrieved from a Web Robot Copy to the local file system.

Parameters

host

The target host name

url

start path on target

root

local WebDAV collection that contains the retrieved content

dst

absolute path to the file system directory to export content to

Return Types

The function returns a non-zero value (can be an error description) if an error occurred while exporting.

Examples

Example24.206.Exporting to the Filesystem

WS.WS.LFS_EXP ('www.foo.com', '/help/', 'sites/www_foo_com', '/tmp/');
WS.WS.DAV_EXP ('www.foo.com', '/help/', 'sites/www_foo_com',
  'http://www.mydrive.com:8990/DAV/sites/');


See Also

WS.WS.DAV_EXP