How To Set Source File Operation Attributes For SCP Job Types in WCC

Document ID : KB000010552
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

In WAAE 11.3.6 SP6, new attributes were added for SCP job types to allow for file operations on the source file. These attributes include...


scp_delete_sourcefile - Specifies whether you want to delete the local source files (if uploading) after they are uploaded from the agent computer or the remote source files (if downloading) after they are downloaded from the remote SFTP server. Specify this attribute only if you are using SFTP protocol.


scp_delete_sourcedir - Specifies whether to delete the directory that contains the local source files (if uploading) or the remote source files (if downloading) after the files are uploaded or downloaded. Specify this attribute only if you are using SFTP protocol.


scp_rename_sourcefile - Specifies the name that the source file must be renamed to after the file is uploaded or downloaded. Specify this attribute only if you are using SFTP protocol.


In WCC 11.4 SP5, new fields were added to QuickEdit to support these new attributes. This document explains how to use these new fields in WCC.

Instructions:

To add one of the source file operation attributes to an SCP job in WCC, you first need to make a selection in the "File Operation" drop-down menu. If you do not want perform any file operations on the source file, leave this selection as "Do not delete".

WCC_SCP_file_operation1.JPG

For scp_delete_sourcefile or scp_delete_sourcedir, select "Delete" in the "File Operation" drop-down menu. After selecting "Delete", two additional fields with check-boxes will appear that map to these job attributes. Checking these boxes will set the value to 'T' for these attributes.

WCC_SCP_file_operation2.JPG

For scp_rename_sourcefile, select "Rename" in the "File Operation" drop-down menu. After selecting "Rename", an additional field will appear that maps to this attribute. This is where you can specify how you want to rename the source file.

WCC_SCP_file_operation3.JPG