FTP-Download

coolfire

Newcomer
Joined
Oct 6, 2003
Messages
14
Hi,
i have done it to connect with my Programm to a Ftp-Sever.
To change directories with CWD is also no problem.
I wrote it so:
e.g.
Command = "CWD data/prod/"
clientSocket.Send(ASCII.GetBytes(Command + "\r\n"));

Now my question:
How can i copy a file from the directory prod to my harddisk?
The commando get doesn't run!!
Interesting is also the other way....to copy a file from harddisk to
the Ftp-Server.

Thx
I would be thankfull for an easy and exactly reply.
 
Back
Top