B2B Integration : Managing File Transfers with ActiveTransfer : Server Configuration Parameters and Variables : Server Variables : File Reference Variables
File Reference Variables
Note:  
In event actions such as Write File to Database and Send Email which process multiple files, use the variables as per the following example: <LINE>{stem}</LINE>. This syntax ensures that all the files in the list are processed by these actions instead of just the first file.
Variable
Description
{command}
Command forwarded to remote FTP servers to list files.
{end}
End time for the file transfer.
{error}
Error messages related to the file transfer.
{ext}
Last part of the file name, including the period.
{file_metadata}
Applicable only to FTP remote servers. Raw response from the remote server for each file while performing MLST, MLSD, LIST, or NLST commands.
Example:
Type=file;Modify=20151006091701;
Perm=r,w,a,d,f;Size=584;
UNIX.owner=user;UNIX.group=group;
properties_4.cnf
{group}
Applicable only to FTP remote servers. Retrieves information from the UNIX ownership class group, os-depend-fact in MLST RFC 3659.
{md5}
MD5 hash of the uploaded file.
{modified}
Applicable only to FTP remote servers. Date when the file was last modified in UNIX epoch time (milliseconds).
{name}
Name of the file.
{owner}
Applicable only to FTP remote servers. Retrieves information from the UNIX ownership class owner, os-depend-fact in MLST RFC 3659.
{parent_path}
Path to the parent folder.
{path}
Path of the file:
*Local file system. Local directory path.
*Remote file system. Relative path of the file in a file system with respect to the current folder.
{permissions}
Applicable only to FTP remote servers. Permission for the file on the remote server to which ActiveTransfer is connected. The format is -rw-r--r--. For MLST, this format is maintained only when unix.modeis available. If unix.mode is not available, the format is r,w,a,d,f, and is retrieved from perm.
{real_parent_path}
Local path of the parent folder for the file on the disk.
{real_path}
Complete path to the file in the local or remote file system.
{resume_loc}
Location in the file where the transfer should resume if interrupted.
{size}
Size of the file.
{speed}
Speed of the file transfer.
{start}
Start time for the file transfer.
{stem}
First part of the file name, before the period.
{the_file_error}
Any error during file transfer.
{the_file_name}
Name of the file.
{the_file_size_formatted}
Size of the file.
{the_file_speed}
Speed of the file transfer (upload/download) for post-processing events.
{the_file_path}
Path of the file.
{url}
Actual URL that points to the file.
{user_dir}
Folder that the user sees when uploading the file.
{user_session_download_count}
Total download count per user session for post-processing events.
{user_session_upload_count}
Total upload count per user session for post-processing events.
{user_time}
User upload/download time for post-processing events.
Copyright © 2016- 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback