-
I am making an FTP Client using VB with a Winsock Control. My question is, what is the code used to download and upload files from another computer connected to the same IP address and how do i see the files the other computer has in a file list box.(What is the code for that). Basically what i want is 2 dirlistboxes, and 2filelistboxes. 1 dir&file list that show the directories and files on the host computer the other that shows the files on the other computer.
Any help on this subject would be greatly appreciated,
thanks a bunch!
-
Here are a couple of links that may give you the information you want...
http://www.mvps.org/vbnet/code/network/ftplist.htm - This is a direct link to the article I found.
You may want to do a search from the main page to narrow down the information. http://www.mvps.org/vbnet/
Hope this helps.
Michael Woolsey
-
The thing is i;m using the Winsock Control with the TCP protocal. Will this code work for the Winsock Control using a TCP protocol, it looks like it's for the INet control and the second thing is how do i get it to display the other computers files and folders after i've connected? I want one filelistbox and dirlistbox to be for my computer and the other file/dir listbox for the other computer.
thanks
-
I don't know if you can use the Winsock control itself as a FTP control, but there is another control provided with Visual Basic that does allow it. The Microsoft Internet Transfer Control will allow the use of FTP.
I'm sorry, I don't have any example of this control to give you, but the help file does have some example on its use unfortuntly it is in pieces so you will have to do a lot of reading.
Hope this helps some.
Michael Woolsey