Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting a file
Message
De
01/10/2002 12:54:53
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
01/10/2002 12:51:36
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
Divers
Thread ID:
00706372
Message ID:
00706459
Vues:
25
>>Hi Hilmar,
>>
>>I'm testing this too. What syntax (url and file) did you use for testing grabbing a file from the UT?
>
>I grabbed the main file thusly:
>
>
>VfpHttp("http://www.levelextreme.com", "c:\TempResult.htm")
>
>
>Note that the function stops at 30,000 bytes - you may have to adjust this.
>
>HTH, Hilmar.

The "http://" part has to be included, I believe. It is only the browser that adds it for you, as a convenience.

And the resulting filename - I am not sure whether you get into trouble if you imply the pathname. If you want to use the current folder, just use fullpath("TempResult.htm").

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform