开发者

FTP Transactions Using Microsoft Visual C++ 6

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜