The following parameters are required for all pull replications.
Name | Description |
ReplicationMethod | Set the ReplicationProject.ReplicationMethod property to "PULL" for pull projects. |
RootUrl | This parameter is the URL from which to pull data; for example, “http://www.microsoft.com/”. |
LocalDirectory | Set the ReplicationProject.LocalDirectory property to the name of the local directory to store the information. Cannot be NULL. |
Depth | This parameter is the depth of the replication. For HTTP, this is the number of times to follow links off of the root page. For FTP, this is the depth to go in the directory structure. |
CernProxy (optional) | Name of the proxy server for HTTP pull replications. |
UserName (optional) | User name for secure sites. |
Password (optional) | Password for secure sites. |
MailTo (optional) | User name to mail to when replication completes. |
MailToFail (optional) | User name to mail to when replication fails. |
MailToSuccess (optional) | User name to mail to when replication succeeds. |
BeforeReceiveScript (optional) | Script to run before receiving files. |
AfterReceiveScript (optional) | Script to run after receiving files. |