Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FtpFindFirstFile hangs
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01550162
Message ID:
01550786
Vues:
54
Thank for the help.

>Check your Anti-virus firewall and make sure that it doesn't block your app.
>
>Also there are connection settings - a connect mode that determines how proxies are used and these settings changed with IE 8 I believe in mid-2000's. That might cause problems - you need to use a direct connection in InternetOpen(). I can't recall exactly how this works but in wwFtp it's nHttpConnectType which defaults to 0 instead of 1 (which I think reads the system settings which often doesn't work if you're not a full admin because the registry can't be read).
>
>+++ Rick ---
>
>>>Code?
>>
>>I am using code written by Robert Abram in Sept 1998, a class called ftp_service.
>>
>>I can reach the ftp site through Windows Explorer but not via VFP.
>>
>>>
>>>Make sure you're using the right handles when you're connecting. There are two handles you need to manage the Internet handle and the FTP handle...
>>>
>>>+++ Rick ---
>>>
>>>>When I attempt to read the filename of a file on a FTP site, the ftpFindFirstFile hangs for several minutes then returns an timeout error.
>>>>
>>>>Does anyone know why and how to fix it?
Greg Reichert
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform