HELP - Send Files Using TCPClient

  • Thread starter Thread starter Robert Johnson
  • Start date Start date
R

Robert Johnson

Using TCPClient, I have successfully made the first connection to the
server and I know how to PARSE the passive IP address and PORT number
for making the second connection. I am now in need of some help with
the correct commands to PUT a text file from the clients PC to the
server during the passive connection. Can anyone provide me with an
example of doing this ?
 
I'm assuming that you are trying to write a FTP client. I don't know the
answer to your question.

But you could either just utilize a already-written FTP client control, or
look at its source code for your answers. There is one (maybe more) FTP
controls at gotdotnet.com. I'm not sure if the source code are available
for them. But there are also the open source projects, "FTP Client Library
for .Net" and "Indy (Internet Direct)", both at SourceForge.net. Source
code for both of those projects are available.

Hope this helps,

Richard Rosenheim
 
Back
Top