ActiveTransfer Server 10.15 | webMethods ActiveTransfer Documentation | Working with Services in ActiveTransfer | Asset Document Types | Overview | Event Document Types | wm.mft.assets.rec.event.action.properties:WriteToFile
 
wm.mft.assets.rec.event.action.properties:WriteToFile
Document type that contains the details of the write content to file action in ActiveTransfer Server.
Variables
filePath
String Specifies the path containing the file to write to.
Note:
Be sure to end the path with a slash character (“/”) to identify the location as a folder and not a file.
overwrite
String Set this parameter to true if the file already exists and you want to replace the entire contents of the existing file with the new content.
newFileContent
String Specifies the content to write to the new file if the file does not exist.
addBefore
Document Use this variable if you want to insert new content before the existing content in the file.
*beginningOfFile - Set this variable to true, if you want to insert the content at the beginning of the file.
*addBeforeSearchText - Set this variable to true, if you want to insert the content before a specific string of existing content in the file.
*addBeforeContent - Set this variable to true, if you want to insert new content before existing content in the file.
addAfter
Document Use this variable if you want to insert new content after the existing content in the file.
*endOfFile - Set this variable to true, if you want to insert the content at the end of the file.
*addAfterSearchText - Set this variable to true, if you want to insert the content after a specific string of existing content in the file.
*addAfterContent - Set this variable to true, if you want to insert new content after existing content in the file.