Operating System - Microsoft
1753772 Members
4917 Online
108799 Solutions
New Discussion

Re: FTP and Visual Basic

 
Ron Bromwell
Frequent Advisor

FTP and Visual Basic

Hi All,
Trying to do an FTP from inside a Visual Basic program. Not having much luck. Can anyone lend a hand?
Thanks,
Ron
life's a journey, not a destination
1 REPLY 1
Jamie Hughes
Honored Contributor

Re: FTP and Visual Basic

Hi Ron,

I think you can use the Internet Transfer Control to do ftp inside a vb program. It isn't a complete implementation of the ftp protocol, so not all features are available. If you need to ftp ascii files, the ITC doesn't support that but you can call the wininet api directly for that. Here are a couple of articles, with some sample code, that might help you out.

http://support.microsoft.com/support/kb/articles/q233/0/37.asp

http://support.microsoft.com/support/kb/articles/q171/3/79.asp

http://support.microsoft.com/support/kb/articles/q188/9/56.asp

http://support.microsoft.com/support/kb/articles/Q175/1/79.ASP

Best regards,
Jamie Hughes