4D v19

fichier.getContent( )

Accueil

 
4D v19
fichier.getContent( )

fichier.getContent( )  


 

La méthode fichier.getContent( ) retourne un BLOB comprenant le contenu intégral du fichier. Pour plus d'informations sur les BLOB, veuillez vous reporter à la section Commandes du thème BLOB

 

Valeur retournée

La méthode fichier.getContent( ) retourne un BLOB. 

Exemple  

Pour sauvegarder le contenu d'un document contents dans un champ BLOB :

 C_TEXTE($vPath)
 $vPath:=Selectionner document("";"*";"Selectionnez un document";0)
 Si(OK=1) //Si un document a été sélectionné
    [laTable]unChampBlob:=Fichier($vPath;fk chemin plateforme).getContent()
 Fin de si



Voir aussi  

fichier.setContent( )

 
PROPRIÉTÉS 

Produit : 4D
Thème : Fichier et dossier
Nom intl. : file.getContent( )

Commande(s) éligible(s) à l'exécution dans un process préemptif

 
PAGE CONTENTS 
 
HISTORIQUE 

 
UTILISATION DE L'ARTICLE

4D - Langage ( 4D v19)
4D - Langage ( 4D v19.1)