
I want to FTP a file from one server to another using code.
I got this code example from the Microsoft library:
ftp://wfreeze:[email protected]/...t/project1.exe
"This would download the file project1.exe in the /
vb/inet directory on the ftp.justpc.com server. It would use wfreeze as the user name with a corresponding password of mypass."
It also states:
"If you send a command to an FTP server, you will receive a three-digit response code describing how the server processed your command"
The response codes begin with 1, 2, 3, 4, or 5.
What the library doesn't say is how to retrieve that response code. Can anyone answer that question?
Robin