k so essentially have this code
HINTERNET hInternet;
HINTERNET hFtpSession;
hInternet = InternetOpen(NULL,INTERNET_OPEN_TYPE_DIRECT,NULL,NULL,0);
hFtpSession = InternetConnect(hInternet, "ftp.freetzi.com", INTERNET_DEFAULT_FTP_PORT, "myuser.freetzi.com", "mypassword", INTERNET_SERVICE_FTP, 0, 0);
FtpPutFile(hFtpSession, "C:\\log.txt", "mylog.txt", FTP_TRANSFER_TYPE_BINARY, 0);
if(FtpPutFile(hFtpSession, "C:\\log.txt", "mylog.txt", FTP_TRANSFER_TYPE_BINARY, 0)){
MessageBox(NULL, "Successfully uploaded log to ftp server!", "Ftp Upload", NULL);
}else{
MessageBox(NULL, "Couldn't upload log to ftp server!", "Ftp Upload", NULL);
}
InternetCloseHandle(hFtpSession);
InternetCloseHandle(hInternet);
that allows for an ftp upload of a file. does anybody know how to expand this so that an entire directory can be uploaded?