Hello, I am new to this forum, my question is, is it possible to save “export” from a CRS on an ftp server? When I do it on a CCR the script works without problems but when I do it on a CRS it doesn’t work, it shows me a “failure: connection timeout” error.
This is the script I am using for version 6.49.6.
:global data ( [/system identity get name] . "-" . [:pick [/system clock get date] 4 6] . [:pick [/system clock get date] 0 3] . [:pick [/ system clock get date] 7 11] ."-". [:pick [/system clock get time] 0 10] );
delay delay-time=2;
export file=$data
set data($data. ".rsc");
delay delay-time=2;
tool fetch address=x.x.x.x src-path=$exp dst-path=$exp port=21 user=test password=test mode=ftp upload=yes
delay delay-time=5;
file remove $exp
delay delay-time=2;
And this is for version 7.x.
:global data ( [/system identity get name] . "-" . [:pick [/system clock get date] 4 6] . [:pick [/system clock get date] 0 3] . [:pick [/ system clock get date] 7 11] ."-". [:pick [/system clock get time] 0 10] );
delay delay-time=2;
export file=$data
set data($data. ".rsc");
delay delay-time=2;
tool/fetch address=x.x.x.x src-path=$exp dst-path=$exp port=21 user=test password=test mode=ftp upload=yes
delay delay-time=5;
file remove $exp
delay delay-time=2;
I would be grateful for the information if anyone touches on this topic.