Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use the FTP protocol in C? [closed]

Tags:

c

I'm planning to study sockets using C language, and I want to create a basic FTP client. My question is where should I start reading about FTP protocol for socket programming in C?

And could you please give some FTP library for C language. Thanks.

like image 494
domlao Avatar asked Nov 27 '22 10:11

domlao


1 Answers

If you are trying to learn stuff, just read the RFC and write code. If you are developing software for serious purposes, use an existing, well-tested library. My recommendation is libcurl. If you don't want to use a library, just spawn an instance of cURL from your C program and talk to it over pipes. That way you will also learn to program pipes in C, along with sockets!

like image 162
Vijay Mathew Avatar answered Dec 22 '22 11:12

Vijay Mathew