Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grabbing files from an FTP site.
Message
From
29/07/2008 11:46:01
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01334919
Message ID:
01334929
Views:
12
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform