Hi there!
is there any way to read file with rsc extension? I tried:
:global fileContents [/file get current.rsc contents];
but the variable is then empty. If I try to read another, for example txt file, contents are loaded successfully.
Tried on 6.49 and 7.1.1
Basically I want to get current configuration to a variable. Is this somehow possible?
Best regards, Jan
Finally i found that /file get … contents can work with files up to 4kB. If the file is bigger, function returns empty result.
Jotne
3
After you get config inn to an variable, who would you then use it from there, to what?
I want to send it via /tool fetch HTTPS to my webservice for backup.
Jotne
5
I do recommend SFTP instead.