Ftp

Blake81

Well-known member
Joined
Feb 23, 2006
Messages
304
Location
Georgia, USA
Programming Experience
1-3
I'm working on a program that uses an existing program's API and will allow users to send files to each other. I don't know if I should be using FTP to do this or some other way. The help for FTP with VB that I've found was for VB6. The API will give me the hostname of the remote computer, and I think the IP as well. Thanks.
 
Will your program do both the sending and the recieving (on the respective ends, of course)?

If so, you could look @ TCPListener/TCPClient and use Binary Serialization to send the file as a stream over the connection. Works pretty well for an application I have here.
 
Yes, the program would do both. We'd both be running it on each of our computers, so my computer would be sending a file and yours would be receiving it, and of course, we could do it the other way around. I'll look into binary serialization. Thanks.
 
Back
Top