Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Downloading files in prg
Message
From
12/07/2003 00:43:49
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00809084
Message ID:
00809527
Views:
23
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform