Tutorial :Using Winsock and C to talk with an FTP server



Question:

How would I go about doing this?


Solution:1

TCP/IP Sockets in C: Practical Guide for Programmers has a number of C code examples using Winsock.

There isn't one for FTP but it will get you on your way.


Solution:2

Although you can use Winsock you'll be better off if you use a higher level API, such as WinINet, which already implements the FTP protocol.


Solution:3

Read the FTP RFC.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »