On Fri, 15 Dec 2006 15:08:08 +0000 (UTC), Christopher Benson-Manica
<at***@otaku.freeshell.orgwrote:
EBG <em**********@yahoo.co.ukwrote:
Probably a stupid question but does anyone know of a *free* FTP client
library implemented in C
(No, because standard C provides no facilities with which to write an
FTP client. Have you looked at sourceforge?)
Well, there's no _guaranteed_ way to get at TCP/IP comms, but they
could be accessible through stdio. In fact, they often are for
_servers_ run from inetd or similar. It would be rather constraining
for a library to rely on this however.
It is certainly possible to build commands and parse responses, and do
a reasonable command-line-type UI, in standard C. For a client you
don't strictly need nonblocking or async I/O or multithreading or even
timeouts, none of which are standard, although you can do a rather
better job if you have (some of?) them.
(For the pedants, I suppose you could write an FTP client in standard
C, but I really don't think system("wget http://my.host/my.file")
counts.)
I don't think it works either, unless you use a FTP-scheme URL.
Your post is off-topic for comp.lang.c. Please visit
http://www.ungerhu.com/jxh/clc.welcome.txt
http://c-faq.com
http://benpfaff.org/writings/clc/off-topic.html
for posting guidelines and frequently asked questions. Thank you.
- David.Thompson1 at worldnet.att.net