4D v18

file.getContent( )

Inicio

 
4D v18
file.getContent( )

file.getContent( )  


 

El método file.getContent( ) devuelve un BLOB que contiene todo el contenido del archivo. Para obtener información sobre los BLOB, consulte la sección Comandos BLOB.

Valor devuelto

El método file.getContent( ) devuelve un BLOB.

Ejemplo  

Para guardar el contenido de un documento en un campo BLOB:

 C_TEXT($vPath)
 $vPath:=Select document("";"*";"Select a document";0)
 If(OK=1) //If a document has been chosen
    [aTable]aBlobField:=File($vPath;fk platform path).getContent()
 End if



Ver también 

file.setContent( )

 
PROPIEDADES 

Producto: 4D
Tema: Archivo y carpeta

This command can be run in preemptive processes

 
CONTENIDO DE LA PÁGINA 
 
HISTORIA 

 
ARTICLE USAGE

Manual de lenguaje 4D ( 4D v18)