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:
01550495
Vues:
55
>> But the FtpFindFirstFile still times out.
>
>Silly question: does running VFP session as admin make any difference?
>
>* * *
>http://msdn.microsoft.com/en-us/library/windows/desktop/aa384146(v=vs.85).aspx
>
>Quote:
>Return value
>Returns a valid handle for the request if the directory enumeration was started successfully, or returns NULL otherwise. To get a specific error message, call GetLastError. If GetLastError returns ERROR_INTERNET_EXTENDED_ERROR, as in the case where the function finds no matching files, call the InternetGetLastResponseInfo function to retrieve the extended error text, as documented in Handling Errors.
>End Of Qute
>
>I am thinking may be reviewing extended error information could help?
>
>* * *
>Firewall?

Thanks for suggestions. But I solved it. It had something to do with the Passive Mode and the Nulls at the end of the file specification.
Greg Reichert
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform