This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com
Home
The file.setContent( ) method rewrites the entire content of the file using the data stored in the content BLOB. For information on BLOBs, please refer to the BLOB Commands section.
$myFile:=Folder(fk documents folder).file("Archives/data.txt") $myFile.setContent([aTable]aBlobField)
file.getContent( )
Product: 4D Theme: File and Folder
4D Language Reference ( 4D v19) 4D Language Reference ( 4D v19.1) 4D Language Reference ( 4D v19.4) 4D Language Reference ( 4D v19.5) 4D Language Reference ( 4D v19.6) 4D Language Reference ( 4D v19.7) 4D Language Reference ( 4D v19.8)