开发者

FTP Transactions Using Microsoft Visual C++ 6

开发者 https://www.devze.com 2023-03-01 18:30 出处:网络
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 WinI

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

精彩评论

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