Hello ,
very strange problem
I want to send to my ftp a file with the date and the time it was created
so I have this :
:global time [/system clock get time];
:global date [/system clock get date];
:global full ($time.$date);
/tool fetch mode=ftp user=david password=david12 address=10.0.0.111 src-path=myfile.txt dst-path="test/myfile$full.txt" upload=yes;
I get
status: failed
failure: Unrecognized FTP server response: 451 Requested action aborted: No such file or
directory
when I write the name of the file like this:
/tool fetch mode=ftp user=david password=david12 address=10.0.0.111 src-path=myfile.txt dst-path="test/myfile$date.txt" upload=yes;
doesn’t work
when I write jsut the time it does work
/tool fetch mode=ftp user=david password=david12 address=10.0.0.111 src-path=myfile.txt dst-path="test/myfile$time.txt" upload=yes;
when I print out the $date \ $ full
I see the right time and date
how could it be?
Thanks ,