Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dowloading Internet Files
Message
 
À
06/05/2018 16:05:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows Server 2012
Database:
Firebird
Application:
Desktop
Virtual environment:
VMWare
Divers
Thread ID:
01659775
Message ID:
01659799
Vues:
51
Thanks, Tore. The first technique you provided is the one I've already been using successfully with most links. It's just those links to one web site, and formatted per my question, where it fails. A closer look shows that what URDownloadToFile downloads under those conditions actually is some html code for that company's log-in page, even though I've already logged into the site. Same outcome with the second method. So maybe the site is interpreting the download request as coming from a separate, unvalidated session and responding with a log-in form, rather than the requested file. Since using a browser to manually download the file does work, without logging on a second time. I suspect that the eventual solution may involve automation of the web browser control, or some 3rd-part product. I'll keep digging.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform