Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning PDF files over VFPCGI.EXE
Message
De
02/04/2003 15:37:03
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
Returning PDF files over VFPCGI.EXE
Divers
Thread ID:
00773221
Message ID:
00773221
Vues:
49
I try to use VFPCGI.EXE shipped with VFP 7 to return PDF files
to Web Server.

Unfortunately, it seems that VFPCGI does not return binary data correctly.
Adobe viewer displays message saying that PDF file is corrupted.

Any idea how to return PDF files using VFPCGI ?

I use the following code to create a file response file to VFPCGI:
strtofile( "Content-Type: application/pdf"+ CRLF+CRLF + ;
        filetostr( 'mypdf.pdf' ), m.lcDataFile )
Andrus
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform