Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Downloading files in prg
Message
De
12/07/2003 00:43:49
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00809084
Message ID:
00809527
Vues:
27
Hi Sergey,
That downloaded the file, but I'm trying to download an exe file, and when I try to run the downloaded file I get an error "not a valid win32 application".
Any other ideas?


>Bill,
>
>Check Re: IE automation Message #778857. It shows how to download file w/o user intervention.
>
>>I'm using VFP 7.0
>>
>>In a prg:
>>Is there some way I can set the location on the users computer to download a file to?
>>And preferably skip the "save or open" dialogue that windows pops up?
>>
>>local loIE, lcCurDir
>>lcCurDir = curdir()
>>loIE = createobject('InternetExplorer.Application')
>>loIE.NavigateTo( 'myWeb-Site/myFile.txt' )    && I want replace &lcCurDir\Downloads\myFile.txt
>>
>>or 2nd choice, find out where the user saved the file on their computer so I can move it myself?
Bill Morris
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform