-
ftp server name problem.
Hey,
I ran into a wierd problem trying to connect to an ftp server. I have a pice of code that connects to the server and extract the names of all files i nthe main directory. I've ran it testing a lot last week and everything was fine, but now I get an error the "the server name or address could not be resolved". I got the same error with the public icrosoft FTP sserver after a bit of use. Any suggestions or ideas on what maybe causing this and how to fix it.
Thank you.
-
I think I solved the problem.
I used
Code:
pConnect = isession.GetFtpConnection(_T("server"), "user");
Instead of
Code:
pConnect = isession.GetFtpConnection(_T(server), "user");
where server = "name of ftp server";
I think that's it then.