...
align | center |
---|
...
On This Page
Table of Contents |
---|
Overview
Enabling this behavior allows SkySync to compress any file that is not supported on the destination into a .zip format before being transferred. This will be done instead of flagging the item for manual remediation and halting the transfer of the file. For example, if you attempt to transfer the file "db123.cmd" from a Network File Share to SharePoint, SkySync will compress the file to "db123.zip" before transferring it over, avoiding an error message. This option is found on the Behaviors page when creating a new job.
...
Using the REST API
When creating a job through the REST API, the Zip Unsupported/Restricted Content options include:
convert: Zip restricted content so that it can be transferred successfully. This is the default setting. This is the same as the Zip unsupported file types setting in the user interface.
fail: Log an error if restricted content is encountered.
warn: Log a warning if restricted content is encountered.
skip: Ignore if restricted content is encountered.
Example
Code Block |
---|
{
"name":"Simple Job with Zip Restricted Content",
"kind": "transfer",
"transfer": {
"audit_level": "trace",
"transfer_type": "copy",
"restricted_content": "convert",
"segment_transform": "true",
"versioning": {
"preserve": "native"
},
"source": {
"connection": { "id": "{{cloud_connection_source}}" }
,
"target":
{"path":"/SourcePath"}
},
"destination": {
"connection": { "id": "{{cloud_connection_destination}}" },
"target": {
"path": "/DestinationPath"
}
}
},
"schedule": {
"mode": "auto"
}
} |
Platform Restricted Content
To determine what is restricted content for your given platform or connection, use the following calls.
To list general supported features for a given platform, make the following call. No connection is required. It returns information for platforms based on your license.
Code Block |
---|
GET {{url}}v1/connections/platforms?fields=all&active=1 |
This call returns a list of platform features for a specific ID> You will need the platform ID for this call.
Code Block |
---|
GET {{url}}v1/connections/platforms/{{platform_id}}?fields=all |
This call returns a list of connection features. Ensure you have an established connection before making the call.
Code Block |
---|
GET {{url}}v1/connections/{{cloud_connection}}?include=features |