Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Downloading files in prg
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00809084
Message ID:
00809532
Vues:
30
>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?

If you downloading files and resources from a website, It might be better, as well as give you more control, to use a control specifically designed to do that. There are a few vendors that create HTTP controls and my company is one of them. Our software comes with example programs.

Hope this helps!
Brian Seekford
Seekford Solutions, Inc.
http://www.SeekfordSolutions.com
Internet ActiveX Controls and .NET Class Libraries.
SMTP/S FTP POP3/S HTTP/S SNTP MIME PING WHOIS TRACEROUTE NNTP DNS MX
Base64, UUEncode, yEnc, MD5, SHA1, URL, Quoted-Printable.
Resizer and Tooltips
Email Verification and more. Check us out!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform