News blog

What is Servoy?

Getting Started

Comparison Servoy/VFP




Code Reference


VFP2Servoy Toolkit



Contact / feedback















FILETOSTR() - plugins.file.readTXTFile()

Returns the contents of a file as a character string.


VFP code example

cText = FILETOSTR("c:\temp\hello.txt") && appends string  


Servoy code example

var cText = plugins.file.readTXTFile("c:\\temp\\hello.txt");

// alternatively:

var cText = globals.FILETOSTR("c:\\temp\\hello.txt"); 

Note: FILETOSTR() is a function of the VFP2Servoy Toolkit



External resources:


vfp plugin


ServoyWorld 2012 pics


Official Servoy website


Ken Levy on Servoy


Servoy info


Servoy Forum


Servoy Documentation © 2010-2012 • All rights reserved • Contact: