Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grabbing files from an FTP site.
Message
De
29/07/2008 11:46:01
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01334919
Message ID:
01334929
Vues:
11
>Brain teaser.
>
>For about 5 years we have had some code that connected to an ftp site and downloaded files. It has worked flawlessly for 5 years. We call functions to open the connection then call FtpFindFirstFile() which returns a handle and also loads a string ( lcStr) with the first file info. We then call InternetFindNextFile( nConnection, @lcStr ) in a loop to get the rest of the file names. Nobody has touched this code for years. Now all of a sudden this function does not work as it has for 5 years. This function is in the WinInet API call so I cannot step into it nor see the code. Does anyone have any info as to why this may have changed?
>
>Thanks,
>
>MW

Maybe URL now only allowing passive transfers and your code is not prepared to handle it?
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform