Guest Cyber_Boy Posted June 1, 2002 Posted June 1, 2002 What can i use to log on an FTP in Vb.NET? I'm trying to log on an ftp via a program in VB.NEt is there something that is almost the same as the Winsock? i need the funcionality to send PASV, Delete, Upload, Download, List and all other functions is there a way to do it? Quote
Guest Cyber_Boy Posted June 1, 2002 Posted June 1, 2002 Im writing a class with which i need to connect to an FTP server. Now i inserted a winsock control by first referncing the ocx control and then i wrote "Dim withevents TestWS as mswinsocklib.winsock" so as i can insert it. then i initialzed it and did everything. Now when i try to call a method of this "TestWS" that i created i get this error in the Task List F:\Programming\VB.NET\Test\Winsock Test\Class1.vb(18): 'Close' is ambiguous across the inherited interfaces 'MSWinsockLib.IMSWinsockControl' and 'MSWinsockLib.DMSWinsockControlEvents_Event'. (this was when i tried to call the TestWS.Close() method) what can i do to fix this problem? Quote
Guest Perl Posted June 5, 2002 Posted June 5, 2002 They do not suggest using the winsocket control like you used to in VB... you need to look into full support in the System.Sockets Collection, i dont have much info on it, and it seems alot harder to handle then the winsocket control, but isnt every thing in VB.Net ? ?:) Quote
*Gurus* divil Posted June 5, 2002 *Gurus* Posted June 5, 2002 The Winsock control is not supposed to be used from .NET, there are more functional replacements in the System.Net namespace. The Winsock control does not come with .NET. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Guest Civic_Addict Posted June 10, 2002 Posted June 10, 2002 The Winsock control does not come with .NET. Umm. I have it. Perhaps due to me having VB6 previous though? I'm also having issues with it. Picky frickin' control.....:-\ Quote
*Gurus* Derek Stone Posted June 10, 2002 *Gurus* Posted June 10, 2002 Yes, you have because of your previous installation of Visual Basic 6. -CL Quote Posting Guidelines
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.