Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Download file from the internet
Message
De
01/08/2005 05:00:09
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
01037397
Message ID:
01037420
Vues:
28
This message has been marked as the solution to the initial question of the thread.
>Hi all
>
>I need to download a file from the internet. I know the URL or atleast generate the URL dynamically depending on the date the user enters.
>
>How do I get it from the net into the folder of my choice?
Function getfilefromurl
Lparameters lcRemoteFile,lcLocalFile
Local lnReturn
Declare Integer URLDownloadToFile In urlmon.Dll;
  INTEGER pCaller, String szURL, String szFileName,;
  INTEGER dwReserved, Integer lpfnCB
lnReturn = URLDownloadToFile (0, lcRemoteFile, lcLocalFile, 0, 0)
Return lnReturn=0
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform