saveTextFile#

swordfish.function.saveTextFile()#

Save strings to a file by appending or overwriting. It must be executed by a logged-in user.

Parameters:
  • content (Constant) – The contents to be written into the file.

  • filename (Constant) – A string indicating the absolute path and name of the output file. Currently the output file can only be saved in .csv format.

  • append (Constant, optional) – A Boolean flag. True means appending while false means overwriting, by default DFLT.

  • lastModified (Constant, optional) – The previously modified time displayed in epoch time format, by default DFLT.