Guide
Use special text in your filenames and paths to set dates, time, unique strings, and more!
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_11.csv | |
{MM_SHORT_NAME}Abbreviated month | /upload_{YYYY}/leads_{MM_SHORT_NAME}.csv | → | /upload_2024/leads_nov.csv | |
{DD}2 digit date | /upload_{YYYY}/leads_{MM}{DD}.csv | → | /upload_2024/leads_1105.csv | |
{24HH} hour (24) | /upload_{YYYY}{MM}{DD}/leads_{24HH}.csv | → | /upload_20241105/leads_08.csv | |
{MIN} minute of hour | /upload_{YYYY}{MM}{DD}/leads_{24HH}_{MIN}.csv | → | /upload_20241105/leads_08_37.csv | |
{SS} seconds | /upload_{YYYY}{MM}{DD}/leads_{24HH}_{MIN}_{SS}.csv | → | /upload_20241105/leads_08_37_11.csv | |
{PREVIOUS_MM} Previous month (2 digits) |
/upload_{YYYY}/leads_{PREVIOUS_MM}.csv | → | /upload_2024/leads_10.csv | |
{PREVIOUS_M}Previous month (without leading zero) | /upload_{YYYY}/leads_{PREVIOUS_M}.csv | → | /upload_2024/leads_10.csv | |
{PREVIOUS_DD} Previous date (2 digits) |
/upload_{YYYY}/leads_{PREVIOUS_DD}.csv | → | /upload_2024/leads_04.csv | |
{PREVIOUS_D}Previous date (without leading zero) | /upload_{YYYY}/leads_{PREVIOUS_D}.csv | → | /upload_2024/leads_4.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_d5b431f9a0.csv | |
{EPOCH} | /upload_{YYYY}/leads_{EPOCH}.csv | → | /upload_2024/leads_1730795831.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.