Thinking of something like an MFC application, with one button – “Download”
- User selects download and then is prompted for the location of where the file will be saved.
- Connects to the remote ftp server (login, ip, file to GET all hard coded)
- Displays a status bar of how much of the file has been downloaded.
Which Windows API would best support this entire application in C or C++? (looking to keep it as simple and straightforward as possible)
You’ve got the Common File Dialog for that. MFC has a wrapper.
There’s the WinInet API, which includes function such as
FtpGetFileIf you need to report progress, use
FtpOpenFileinstead and read chunks usingInternetReadFile. Windows progress bars are created withCreateWindowand controlled withSendMessage.