<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Verdana size=2>J'ai fini par trouvé, je ne sais pas pourquoi le 
file_html de celui créé à la main est renseigné (je suppose que c'est lié à 
l'indexation et au portal_transforms), mais toujours est-il que je n'ouvrais pas 
mon fichier en 'rb', les données étaient interprétées en texte et le fichier 
était mal compris.</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana size=2>En espérant que çà puisse servir à 
quelqu'un.</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana size=2>Cordialement</FONT></DIV>
<DIV>
<HR>
<FONT style="FONT-SIZE: 9px; COLOR: #00adce; FONT-FAMILY: Verdana"><FONT 
style="FONT-WEIGHT: bold; FONT-SIZE: 10px; COLOR: #0c4da2">Cédric 
Marfil</FONT><BR>Concepteur Réalisateur Intégrateur Confirmé<BR><B>Tél. 
direct:</B> 03.20.65.34.82<BR><B>Mail:</B> 
cedric.marfil@capgemini.com<BR><BR><FONT 
style="FONT-WEIGHT: bold; FONT-SIZE: 10px; COLOR: #0c4da2">Cap</FONT><FONT 
style="FONT-WEIGHT: bold; FONT-SIZE: 10px; COLOR: #00adce">gemini</FONT><BR>181 
rue Jules Delcenserie<BR>59700 Marcq en Baroeul<BR></FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=cedric.marfil@capgemini.com 
  href="mailto:cedric.marfil@capgemini.com">Cedric Marfil</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=cps-users-fr@lists.nuxeo.com 
  href="mailto:cps-users-fr@lists.nuxeo.com">Liste Nuxéo</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, October 16, 2006 3:45 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [CPS-users-fr] CPS File par 
  batch</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=Verdana size=2>Bonjour, j'ai une méthode qui me crée des 
  documents de type File à la volée, en settant le 'Titre' et le 'file' avec les 
  données utiles. Mais lorsque j'essai de visualiser la pièce jointe, après 
  intégration, les temps de réponses sont très longs pour qu'au final, çà ne 
  fonctionne pas (il semblerait que le fichier ne soit pas bien 
  compris).</FONT></DIV>
  <DIV><FONT face=Verdana size=2>J'ai comparé le datamodel d'un fichier importé 
  de la sorte avec celui d'un fichier créé dans l'application, et il semblerait 
  que la différence réside dans le contenu du champs 'file_html'. Celui créé à 
  la main contient un 'file_html' alors que celui importé, non.</FONT></DIV>
  <DIV><FONT face=Verdana size=2>Est-ce que quelqu'un a une idée à ce sujet 
  ?</FONT></DIV>
  <DIV><FONT face=Verdana size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Verdana size=2>Merci d'avance</FONT></DIV>
  <DIV><FONT face=Verdana size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Verdana size=2>Cordialement</FONT></DIV>
  <DIV>
  <HR>
  <FONT style="FONT-SIZE: 9px; COLOR: #00adce; FONT-FAMILY: Verdana"><FONT 
  style="FONT-WEIGHT: bold; FONT-SIZE: 10px; COLOR: #0c4da2">Cédric 
  Marfil</FONT><BR>Concepteur Réalisateur Intégrateur Confirmé<BR><B>Tél. 
  direct:</B> 03.20.65.34.82<BR><B>Mail:</B> <A 
  href="mailto:cedric.marfil@capgemini.com">cedric.marfil@capgemini.com</A><BR><BR><FONT 
  style="FONT-WEIGHT: bold; FONT-SIZE: 10px; COLOR: #0c4da2">Cap</FONT><FONT 
  style="FONT-WEIGHT: bold; FONT-SIZE: 10px; COLOR: #00adce">gemini</FONT><BR>181 
  rue Jules Delcenserie<BR>59700 Marcq en Baroeul<BR></FONT></DIV>
  <TABLE>
    <TBODY>
    <TR>
      <TD bgColor=#ffffff><FONT color=#000000>This message contains 
        information that may be privileged or confidential and is the property 
        of the Capgemini Group. It is intended only for the person to whom it is 
        addressed. If you are not the intended recipient, you are not authorized 
        to read, print, retain, copy, disseminate, distribute, or use this 
        message or any part thereof. If you receive this message in error, 
        please notify the sender immediately and delete all copies of this 
        message.<BR><BR></FONT></TD></TR></TBODY></TABLE>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>cps-users-fr 
  <BR>Adresse de la liste : cps-users-fr@lists.nuxeo.com<BR>Gestion de 
  l'abonnement : 
&lt;http://lists.nuxeo.com/mailman/listinfo/cps-users-fr&gt;<BR></BLOCKQUOTE></BODY></HTML>

<table><tr><td bgcolor=#ffffff><font color=#000000>This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.<br>
<br>
</font></td></tr></table>