Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Quietly saving a file from a URL
Message
De
22/12/2004 11:02:51
 
 
À
22/12/2004 10:59:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
00971439
Message ID:
00971441
Vues:
20
This message has been marked as the solution to the initial question of the thread.
Hi Michale,
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
>Hi all,
>
>I need some input and advice on how I could go about taking a URL that points a file (in my case, a PDF), and quietly going to that URL and saving that file to disk.
>
>Thanks in advance,
>
>Mike
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform