Hi Folks,
I am new to VC++ ...
I am using CFTPConnection, CInternetSession for doing the ftp. How can I get a file from remote server to a particular directory on local machine ?
There are functions to change the remote directory but nothing to change local directory ...Are there any functions like SetDirectory for changing local path !
I tried
Cstring LocalFile = "C:\\windows\\test1.dat"
RetVal = FTPConnection->GetFile(LocalFile,FileName,FALSE,FILE_ATTRIBUTE_NORMAL,FTP_TRANSFER_TYPE_ASCII,1);

Doesn't work !!!

I need urgent help !!!