I am trying to rename a file during the ftp upload process. I want to give it the date and timestamp of the upload time. However I cant seem to figure out the variable or if its even allowed on an ftp upload. The upload works fine if i give the file a static name but not what i am trying to do.
:local date [/system clock get date]
:local time [/system clock get time]
/tool fetch address=xxx.xxx.xxx.xxx src-path=testfile.txt user=xxxxx mode=ftp password=xxxxxx dst-path="[$date][$time].txt" upload=yes;