Send to SFTP component RRTs

Component RRT ID

The RRT ID for the component is SFP.

Reserved Replacement Tag Names (RRTN)

The following table describes the reserved RTN values for Schema field of this component.

Name Description
FileName The original file name.
Counter An incremental counter based on the duplicate file names found within the destination directory. The counter value concatenated with a name provides a unique file name.
FileExt The original file extension.

The following example provides some sample usage for your reference:

~SFP::FileName~_~SFP::Counter~~FileExt~ is replaced with the value "Document_5.xml" if the original file name was "Document", the original file extension was .xml, and there were up to 4 (Document_1.xml — Document_4.xml) files already within the destination folder path.

~SFP::FileName~, ~SFP::Counter~, and ~SFP::FileExt~ can only be used for the Schema setting in the Edit/Add Site Configuration dialog box of this component.

Field Replacement Tag Names (FRTN)

This component supports the field RTN values listed below:

Name Description
%URL[Site Name]% The list of URLs of uploaded files for the [Site Name] SFTP server.
%PATH[Site Name]% The destination path for the [Site Name] SFTP server.
%FILE[Site Name]% The list of the uploaded files to the [Site Name] SFTP server.
These RRTs are applicable only to the eConnector component and can be used in the subsequent components.

The following example provides some sample usage for your reference:

  • ~SFP::%URL, MyServer%~ is replaced by sftp://MyServer/Folder1/MyDocument.txt
  • ~SFP::%PATH, MyServer%~ is replaced by /Folder1
  • ~SFP::%FILE, MyServer%~ is replaced by MyDocument.txt
For correct work of the ~SFP::%URL, [Site Name]%~, ~SFP::%PATH, [Site Name]%~, and ~SFP::%FILE, [Site Name]%~ RRTs the following restrictions should be accepted:
  • Site names should not contain one of the following characters: tilde (~), colon (:), per cent (%), comma (,), and slash (/).
  • All sites should have different names.

Special Set Replacement Tag Names (SSRTN)

This component supports the Date/Time tag names listed below:

Name Description
%a Abbreviated English weekday name (Sun – Sat)
%A Full English weekday name (Sunday – Saturday)
%b Abbreviated English month name (Jan – Dec)
%B Full English month name (January – December)
%d Day of month as 2-digit decimal number (01 – 31)
%H Hour in 24-hour format (00 – 23)
%I Hour in 12-hour format (01 – 12)
%j Day of year as decimal number (001 – 366)
%m Month as decimal number (01 – 12)
%M Minute as decimal number (00 – 59)
%p Current locale’s A.M./P.M. indicator for 12-hour clock
%S Second as decimal number (00 – 59)
%U Week of year as decimal number, with Sunday as first day of week (00 – 53)
%w Weekday as decimal number (0 – 6; Sunday is 0)
%W Week of year as decimal number, with Monday as first day of week (00 – 53)
%y Year without century, as decimal number (00 – 99)
%Y Year with century, as decimal number

Examples of usage of the above SSRTN include:

~SFP::%Y~-~SFP::%m~ will be replaced by 2010-06.