Dynamic Naming

If you want more control where files will be downloaded and how they should be named, you can enable Dynamic Naming on the Synchronization tab.
Instead of entering a Windows foldername where files are downloaded, you use a special syntax, using {tags}, to set the full name of downloaded files.
Example:
C:\Downloads\{dt-yyyy}{dt-mm}{dt-dd}\{extension}\{filename}
When the file /root/subdir/somefile.txt is downloaded, it will be stored as
C:\Downloads\20171228\txt\somefile.txt
any missing directories will be created automatically.
The table below lists all {tags} you can use. The example values are
{tag} | Notes | Example value/Usage |
---|---|---|
{dir} | The full directory of the downloaded file. | /root/monitored/sub1/sub2 |
{monitoreddir} | The full directory that is monitored by this task | /root/monitored |
{relativedir} | The directory of the file starting at the monitored directory.
Note: this will be empty for files detected directly in the monitored directory. |
sub1/sub2 |
{firstdir} | The first subdirectory below the monitored directory.
Note: this will be empty for files detected directly in the monitored directory. |
sub1 |
{parentdir} | The name of the directory where the file is found. | sub2 |
{filename} | The name of the detected file. | somefile.txt |
{filetitle} | The name without extension of the detected file. | somefile |
{extension} | The extension of the detected file. | txt |
{originalfull} | The complete path of the detected file. | /root/monitored/sub1/sub2/somefile.txt |
{originalrelative} | The complete path, starting at the monitored directory, of the detected file. | /sub1/sub2/somefile.txt |
The date and time variables below are based on the "last modified" timestamp of the file as reported by the FTP server. | ||
{dt-yyyy} | The year including the century. | 2017 |
{dt-yy} | The year without the century. | 17 |
{dt-mm} | The month. | 07 |
{dt-dd} | The day. | 31 |
{tm-hh24} | The hour (24 hour clock) | 13 |
{tm-hh12} | The hour (12 hour clock) | 1 |
{tm-ampm} | The am/pm of the hour. | PM |
{tm-mm} | The minutes. | 50 |
{tm-ss} | The seconds. | 56 |