Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WwIPStuff - Download?
Message
De
01/11/1999 09:39:30
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00284656
Message ID:
00284769
Vues:
11
>Right now my users grab a file in this fashion
>
>I have an ASP page that authenticates the user, compresses a file, and then redirects the browser to the target file. Sometimes it takes 5 seconds to compress and redirect, sometimes it takes 40 seconds... Anyway, when the browser sees the .gz, it starts a download event and things work OK.
>
>I am now trying to automate this whole thing inside a VFP app with wwIPStuff using HTTPGetEX but can't see how to make it go. Any suggestions?


A Redirect is a function of a browser, not HTTP. So your initial call to the first function from wwIPStuff will only return the text of the redirect directive to you, and do nothing else. You will have to manually go out and grab the second file yourself.

The way I would do this, is make the first call initiate the file compression, and simply return the name or path to the corrected file. On the client side, use the information from the first call to get the file in another call.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform