Replication.saveRecordTransportInfo (Method)
Saves transportation information for a target server's replication record.
Returns:
Void
Arguments:
Name | Type | Required | Description |
---|---|---|---|
id | ReplicationID | Required | A replication record's ID. |
serverName | ReplicationTargetServer | Required | The target server's name. |
transportType | ReplicationTransportType | Required | The type of the transportation. These can be 'FTP', 'HTTP', 'UNC', or 'Manual'. |
uNCPath | PlainText | Required | The UNC path to the CommonSpot directory. |
fTPServer | PlainText | Required | The target server's IP address or alias. |
fTPUserName | PlainText | Required | The FTP username. |
ftpPassword | PlainText_Secure | Required | The FTP password. |
fTPCommonSpotDirectory | PlainText | Required | The path to the CommonSpot directory. |
fTPPort | PlainText | Required | The port used by the FTP protocol. |
fTPPassive | Boolean | Required | Boolean flag which when set to true indicates that the FTP protocol uses passive mode. |
Context:
License Requirements | Replication |
Permission Requirements | site:ManageReplication |
Deny Context | None |
Require Context | AuthoringEnabled |
Author Lock | (not required) |
Transaction Logging | If transaction logging is enabled at the server level, calls to this method will be logged |
Customization | This method may be customized at the site level |
Error Codes:
Code | Error Message |
---|---|
36010 | No replication record exists having an ID of $1 and server '$2'. |
42003 | The CommonSpotDir '$1' is not valid. The directory does not exist. |
Notes:
None