Is there any tutorial about 开发者_运维知识库FTP transactions(like download, upload and files/directory listings) using Microsoft Visual C++ 6 using C language instead of C++?
You basically want a WinInet FTP client, which is the Win32 API for this kind of thing. You can do all this in straight C.
There's a decent writeup here:
http://www.teksoftco.com/articles/ftp%20client.htm
but the gist is: you use InternetOpen/InternetConnect to get a connection, then use FtpOpenFile/FtpGetFile/FtpPutFile etc. There are FtpFindFirstFile/NextFile to enumerate directories, and other methods for interrogating your current directory, deleting files, etc.
精彩评论