In this article
...
Limitations
None.
Known Issues
SnapLogic Pipelines configured with a SnapLogic instance that are communicating with the Solarwinds Serv-U SFTP server can no longer communicate with the server as it is upgraded to Serv-U version 15.3.2, which is incompatible with the JSCH library in SnapLogic. The SnapLogic Binary Snap Pack does not support JSCH 15.3.2 and above. To resolve this issue, you can either use the SolarWinds 15.3.2 patch or roll back the update to 15.3.2. Learn more about this issue: Success CenterNone.
Snap Views
Type | Format | Number of Views | Examples of Upstream and Downstream Snaps | Description | ||
---|---|---|---|---|---|---|
Input | Document |
|
| The Snap expects to find values for the JSON paths used in the File property, if any. | ||
Output | Document |
|
| The file name and the delete status are written to the output view. The following example shows the output document map data:
| ||
Error | Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter when running the Pipeline by choosing one of the following options from the When errors occur list under the Views tab. The available options are:
Learn more about Error handling in Pipelines. |
...
Field Name | Field Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Label* Default Value: File Delete | String | Specify a unique name for the Snap. | |||||||||||||||
File* Default value: [None] SLDB:
VPC:
| String/Expression | Specify the URL for the file to be deleted. It might start with a file protocol. The supported file protocols are SLDB, S3, FTP, SFTP, FTPS, WASB, WASBS, GS, and SMB protocols. This Snap supports S3 Virtual Private Cloud (VPC) endpoint.
| |||||||||||||||
File delete action | Dropdown list | Specify the action that the Snap must take when the target file is not found during a file delete attempt. Select from the following options:
| |||||||||||||||
Validate deletion Default value: Deselected | Checkbox | Select this check box to enable the Snap to check if the deleted file still exists. | |||||||||||||||
Number of retries Default value: 0 | Integer/Expression | Specify the maximum number of retry attempts in case of a network failure.
Minimum value: 0 | |||||||||||||||
Retry interval (seconds) Default value: 1 | Integer/Expression | Specify the minimum number of seconds for which the Snap must wait before attempting recovery from a network failure. Minimum value: 1 | |||||||||||||||
Advanced properties | Use this field set to define additional advanced properties. | ||||||||||||||||
| Dropdown list |
| |||||||||||||||
Values | String/Expression | Specify the value for SAS URI. | |||||||||||||||
Snap Execution Default Value: Execute only | Dropdown list |
|
...
Reads a file from your SnapLogic database using the File Reader Snap.
Writes/Creates a new file in your SnapLogic database using the File Writer Snap.
Passes the filename field to the File field of the File Delete Snap using the Mapper Snap.
Deletes the newly created file, using the filename parameter, from your SnapLogic database using the File Delete Snap:
Similarly, in the above example, you can directly pass the filename in the File field of the File Delete Snap:
...