Slt Yann
Après qq test, essai en supprimant le + RC + "name=test.pdf".
Perso en écrivant qq chose du genre :
FichierAffiche(repertoireweb() + "\test\test.pdf", "application/unknown"+ RC
+"Content-Disposition:;filename=test.pdf"
j'ai toujours une proposition de chargement avec une " , " à la fin du
fichier comme "test.pdf,"
Comment supprimer cette " , " à la fin ??
Alain V
"Yann DEMARS" <adci.demars@laposte.net> a écrit dans le message de news:
3f3baff6$1@news....
Lorsque j'utilise la fonction fichieraffiche sous ce format :
FichierAffiche(ComplèteRep(fRepWeb()) + "test.pdf",
"application/unknown"),
> je ne rencontre aucun problème mais dès que j'utilise la syntaxe avancé
mise
dans l'aide :
MIME est une chaîne = "application/unknown" + RC + "name=test.pdf" + RC
+...
"Content-Disposition: Attachment;filename=test.pdf" +
RC + EOT
FichierAffiche(ComplèteRep(fRepWeb()) + "test.pdf", MIME)
dans ce cas là, cela ne fonctionne pas et il m'affiche le message suivant
:
//
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable
to complete your request.
Please contact the server administrator, admin@ADCI and inform them of the
time the error occurred, and anything you might have done that may have
caused
the error.
More information about this error may be available in the server error
log.
--------------------------------------------------------------------------
------
Apache/2.0.47 (Win32) Server at 192.168.0.113 Port 80
//
et cela aussi bien sur un serveur apache 2.0 ou IIS 5
//-----------
Si quelqu'un peut me renseigner je le remercie d'avance.