Since UNICODE isn’t really your frind I’d suggest that you use the “FtpRenameFileA” function instead of the “FtpRenameFile” function. This results in:
if (FtpRenameFileA(hFtp,"log.txt",funsys))
{
MessageBox(NULL, L"Renamed Successful.", L"Title", NULL);
}
else
{
MessageBox(NULL, L"Renamed Failed.", L"Title", NULL);
}
3
solved Using variables gives error [closed]