Write to file via engine script
cherub
SERnuke.com
I've scripted SER to perform some non-link-building tasks for me, and was wondering if it would be possible to allow SER to write to a file in engine script. An example syntax could be:
write file=/accounts/%random-10000000-99999999%.txt=%whatever%\n%data%\n%iwant%
I currently email the data I need to myself via modify url and a perl script, but writing to files would be so much more convenient, and open the doors to many other possibilities for the already powerful engine script.
write file=/accounts/%random-10000000-99999999%.txt=%whatever%\n%data%\n%iwant%
I currently email the data I need to myself via modify url and a perl script, but writing to files would be so much more convenient, and open the doors to many other possibilities for the already powerful engine script.
Comments
next version has this syntax:
write file="c:\temp\accounts.txt" "my data..."
I should pre-empt myself and say that appending to a file would probably be useful in the future too, and maybe even delete file. But that will be more than enough for my needs - thanks!