Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting a file
Message
From
01/10/2002 12:54:53
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
01/10/2002 12:51:36
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Miscellaneous
Thread ID:
00706372
Message ID:
00706459
Views:
24
>>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform