Send to FTP component RRTs

Component RRT ID

The RRT ID for the Send to FTP component is FTP.

Reserved Replacement Tag Names (RRTN)

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

RRTN Description
Internal RRTs
OriginalFileName The original file name value.
Counter,3 An incremental counter of the files with duplicate names within the destination directory, where 3 is a number of digits used for the counter; for example, ~FTP::Counter,3~ will be replaced with 001. You can change the number "3" to any other number from range of 1 to 99 that will be used for the counter.
FileExtension The original file extension value
External RRTs
Path,[ServerNumber],[FileNumber] The folder path associated with an FTP server, where ServerNumber is a number of the FTP server and FileNumber is a number of the file on the FTP server.

For example, if you have configured 3 FTP servers/folder paths, and there are two files on each of them, then this RRTN can take the following values:

  • ~FTP::Path,1,1~ and ~FTP::Path,1,2~
  • ~FTP::Path,2,1~ and ~FTP::Path,2,2~
  • ~FTP::Path,3,1~ and ~FTP::Path,3,2~

URL,[ServerNumber],[FileNumber] The URL of the FileNumber file uploaded to the ServerNumber FTP server.

For example, if you have configured 3 FTP servers, and sent a file onto each of them, then this RRTN can take the following values:

  • ~FTP::URL,1,1~
  • ~FTP::URL,2,1~
  • ~FTP::URL,3,1~

URL,1,1 The URL of the 1st file uploaded to the 1st FTP server.
FileCount The count of documents in one package.

The following examples provide some sample usage for your reference:

The RRT scheme ~FTP::OriginalFileName~_~FTP::Counter,3~~FTP::FileExtension~ is replaced with the value “MesCendres_005.pdf” if the original file name was “MesCendres” and there were up to 4 (MesCendres_001.pdf — MesCendres_004.pdf) files already within the destination folder path.

The RRT scheme ~FTP::URL,1,1~- replaced with the value "ftp:\localhost:8\out\ashes.txt" if the file name is file.txt and it was the first uploaded file to the first server in the row.

The Reserved RTN values ~FTP::OriginalFileName~, ~FTP::Counter,3~, and ~FTP::FileExtension~ can only be used in the renaming Schema of this component.

Field Replacement Tag Names (FRTN)

This component does not have any FRTNs and replacement of field names with metadata values.

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

Example of the SSRTN:

The RRT scheme ~FTP::%Y~-~FTP::%m~  will be replaced by  "2007-10".