Examples

You can use the pieces of text below to dynamically set parts of Filenames or Paths when transferring files. These examples assume a file named leads.csv is being uploaded.

Syntax Example
{YYYY}
4 digit year
/upload_{YYYY}/leads_{YYYY}.csv /upload_2024/leads_2024.csv
{MM}
2 digit month
/upload_{YYYY}/leads_{MM}.csv /upload_2024/leads_02.csv
{MM_SHORT_NAME}
Abbreviated month
/upload_{YYYY}/leads_{MM_SHORT_NAME}.csv /upload_2024/leads_feb.csv
{DD}
2 digit date
/upload_{YYYY}/leads_{MM}{DD}.csv /upload_2024/leads_0221.csv
{24HH}
hour (24)
/upload_{YYYY}{MM}{DD}/leads_{24HH}.csv /upload_20240221/leads_07.csv
{MIN}
minute of hour
/upload_{YYYY}{MM}{DD}/leads_{24HH}_{MIN}.csv /upload_20240221/leads_07_09.csv
{SS}
seconds
/upload_{YYYY}{MM}{DD}/leads_{24HH}_{MIN}_{SS}.csv /upload_20240221/leads_07_09_42.csv
{PREVIOUS_MM}
Previous month (2 digits)
/upload_{YYYY}/leads_{PREVIOUS_MM}.csv /upload_2024/leads_01.csv
{PREVIOUS_M}
Previous month (without leading zero)
/upload_{YYYY}/leads_{PREVIOUS_M}.csv /upload_2024/leads_1.csv
{PREVIOUS_DD}
Previous date (2 digits)
/upload_{YYYY}/leads_{PREVIOUS_DD}.csv /upload_2024/leads_20.csv
{PREVIOUS_D}
Previous date (without leading zero)
/upload_{YYYY}/leads_{PREVIOUS_D}.csv /upload_2024/leads_20.csv
{ORIGINAL_NAME}
The name (without extension) of the file being uploaded
/upload_{YYYY}/{ORIGINAL_NAME}_uploaded.csv /upload_2024/leads_uploaded.csv
{ORIGINAL_EXT}
The file extension of the file being uploaded
/upload_{YYYY}/leads.{ORIGINAL_EXT} /upload_2024/leads.csv
{EMAIL_SUBJECT}
The subject line of the email sent to your custom email address
/upload_{YYYY}/{EMAIL_SUBJECT}.pdf /upload_2024/upload this file.pdf
{EMAIL_SUBJECT_NO_SPACES}
The subject line of the email sent to your custom email address with all spaces removed
/upload_{YYYY}/{EMAIL_SUBJECT_NO_SPACES}.pdf /upload_2024/uploadthisfile.pdf
{UNIQUE_ID}
random
/upload_{YYYY}/leads_{UNIQUE_ID}.csv /upload_2024/leads_b18d54d0b5.csv
{EPOCH} /upload_{YYYY}/leads_{EPOCH}.csv /upload_2024/leads_1708499382.csv
Need something else? Email support@easyftp.io and ask for what you want and give us an example of how you will use it. We will probably add it quickly for you.

Copyright © 2024. All rights reserved.