Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FTP in VFP 3.0
Message
From
17/09/1999 05:42:19
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
FTP in VFP 3.0
Miscellaneous
Thread ID:
00265779
Message ID:
00265779
Views:
57
Hi everybody,

Let me start with the very beginning: I use VFP version 3.0 because this is the only Polish version available on the market. And this is why I am mostly interested in this version solutions at the moment. I have heard a lot of Microsoft Internet File Control (msinet) and I tried to use it in my application. Neveretheless it doesn't work as it should. I have problem with StateChanged event - it seems to recognize only one state, namely 9 (when the control is disconnecting a server I was retrieving data from). I need state number 12 (the request has completed and all data has been retrieved) for one reason: to get a directory list from FTP server. By the way, does anybody know of another way for having that list via FTP?

Having un-finished my VFP 3.0 app I tried out the control in 6.0 one. And again I've got the same problem: this time this recognizes states from 1 upto 10 but still I have no 12! And as a result of that I cannot use GetChunk method to retrieve my listing... When I'm using _VFP.AutoYield = .F. my app gets frozen, when it is assigned to .T. it doesn't work at all. Please tell me what I am doing wrong?

I know that there are other FTP tools or classes that many of you might recommend but at this moment I'd like to gather as much info about msinet as I can :-)

Thanks in advance for your answers. Best,
Przemek Powalko
Next
Reply
Map
View

Click here to load this message in the networking platform