Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Internet Transfer Control Execute 'PUT' file?
Message
From
03/09/1999 14:19:52
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00258698
Message ID:
00261294
Views:
19
>Needing to connect our VFP 6 app to a private ftp server, we worked the MSDN example for "GET" as prescribed in the ITC "Execute" help to retrieve "Disclaimer.txt" from FTP://Microsoft.com (an anonymous server) with success. We were also able to retrieve from our private server,but have been unable to make the "Execute" PUT method work.
>
>From the click of a command button: thisform.IC.execute("FTP://OurPrivateServer.com","PUT LocalFile.REQ RemoteFile.REQ")
>
>When we log to the site from dos, our UserName is our ftp directory on the server. PUT from the DOS window works.
>
>Do we need to close the connection?
>
>( I like ricks stuff. I like Mabry's stuff), but, I'd like to make the MS ITC control work. I've heard its fast. Any suggestions appreciated.
>
>Thanks
>Terry

Hi Terry:

You might want to look at the FTPCLASS sample in the Files Section here on UT. We looked at WestWind and Mabry as well as the NetLib FTP stuff and found Mabry very fast, couldn't get WW stuff to do what we wanted (too little time to debug our mistake -- I know it wasn't Rick's) and the NetLib FTP stuff pretty slow. The FTPCLASS class lib uses WinInet.Dll which I think is what you are referring to in your message. Its not really fast, but since its on virtually every Win9x & NT machine its free and doesn't require any OCX registrations, licensing, etc. For us it was the easiest approach, until performance becomes an issue...

HTH

Rob
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform