Adding Current Date and Time Information to File Names

To automatically add the current date and time information during the upload, enter the %date attribute after the file name in the destination folder. For example, to include the date and time on the Tag.doc file on the FTP site, type:

wsftppro -s local:c:\sports\Tag.doc -d robert!border:/pub/drop/Tag%date.doc

The date and time will be added in the following format:

YYYYMMDD.HH:MM:SS

For example, the file in the example (Tag.doc), if transferred on Feb 4, 2009 at 11:00 AM, would be renamed as:

Tag20090211:00:00.doc