FTP programming in C for linux...

AznMaverick

Platinum Member
Apr 4, 2001
2,776
0
0
I was wondering if there were any resources that i could find for FTP programming. I wanted to program a small satellite that used the protocol for transferring files from satellite to ground station. I've also found lots of resources for c-kermit. I can't seem to find the right resources for FTP programming. Also, what would you recommend for a protocol to ensure that data gets from one node to another node using a serial port? ANY suggestions or comments welcome.

Thanks!

btw...i've searched google for "FTP file transfer protocol" programming linux, "FTP Specification", "file transfer protocol" i couldn't really find anything useful. They all led me to ftp:\ sites that contained manuals for programming in linux in general.
 

Armitage

Banned
Feb 23, 2001
8,086
0
0
Originally posted by: Red and black
libcurl

Seconded :thumbsup:

It's unlikely you'll need to go back to first principles (ie. the raw protocol) when there are well tested libraries available to abstract them.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Also, if the licensing doesn't conflict what what you're doing you could grab one of the OSS FTP clients and servers and use some of their code.
 

AznMaverick

Platinum Member
Apr 4, 2001
2,776
0
0
You guys are the best, that is pretty much what i needed. It also pointed me to ftplib. All i really want to do is transfer files through a serial port. I've looked at curlib, i haven't really found any support for serial interfaces, i'm guessing all the data will get transferred through eth0. Just wondering what i would need to change in the source to have it redirect to serial port.

Thanks!