That's a good question - do you know if you can declare dlls in 2.5? There was a thread a few days ago about a work-around for this ...
>Thanks Claude,
>I'm going to give this a try.
>However, before I beat my head against the wall trying to implement this, do you know off hand it this will work for FoxPro 2.5?
>
>Glen
>
>>Glen,
>>Check out the Win32 Internet functions for FTP at
http://www.news2news.com/vfp/?group=92&=0>>>I recently obtained a copy of WS_FTP Pro from Ipswitch to evaluate for use with FoxPro.
>>>
>>>Several years ago I wrote a parts inventory program in FoxPro 2.5 for a government customer that had remote sites.
>>>Each of the remote sites exchanged data via modem using ProCom Plus.
>>>I started ProCom from FoxPro using DDE, sent the data, and then logged off ProCom.
>>>
>>>My customer now has an FTP site they use to exchange data and they want me to write a module that will put and get the data
>>>to/from the FTP site. This would replace the modem/ProCom module.
>>>
>>>I found a text file attributed to Kelvin Perez that allows FTP connection in FoxPro 3.0.
>>>
>>>When I tried to compile the sample program in FoxPro 2.5, I got an error message ("syntax error") at line:
>>>Declare integer WSFTP_Connet in wsftpdll.dll integer, string, integer, string, string
>>>
>>>I need to do this in FoxPro 2.5. Is that possible?
>>>
>>>I have been away from Visual FoxPro for about 2 years and FoxPro 2.5 for about 6 years, so I am having to re-think some things.
>>>
>>>Thanks for any help,
>>>
>>>Glen Mettler
>>>7802 Smoke Rise Rd
>>>Huntsville, AL
>>>256.882.1206 h
>>>256.922.0720 w