473,396 Members | 2,039 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

FTP client C source code

EBG
Probably a stupid question but does anyone know of a *free* FTP client
library implemented in C, complete with source code? I've looked on the
web and as expected are 1000's of offerings, however couldn't find
anything with sources in C and is free. Target platform is Windows (CE
4.2) however will be ported to other proprietary platforms at later
stage.

Cheers,
EBG

Dec 15 '06 #1
6 30702
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?)

(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.)

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.

--
C. Benson Manica | I *should* know what I'm talking about - if I
cbmanica(at)gmail.com | don't, I need to know. Flames welcome.
Dec 15 '06 #2
Christopher Benson-Manica said:
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?)

(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.)
You could write about 99.5% of it in standard C.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at the above domain, - www.
Dec 15 '06 #3
2006-12-15 <f7*********************@bt.com>,
Richard Heathfield wrote:
Christopher Benson-Manica said:
>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?)

(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.)

You could write about 99.5% of it in standard C.
99.9 - you'd really only need one non-standard-implementable function
for passive ftp.

FILE *tcpopen(const char *host, unsigned short port, const char *mode);
Dec 15 '06 #4
On 14 Dec 2006 18:07:32 -0800, "EBG" wrote:
>Probably a stupid question but does anyone know of a *free* FTP client
library implemented in C, complete with source code? I've looked on the
web and as expected are 1000's of offerings, however couldn't find
anything with sources in C and is free.
Have you looked here http://www.koders.com/ or here
http://www.krugle.com/ ?
Dec 15 '06 #5
"EBG" <em**********@yahoo.co.uk>
>...t does anyone know of a *free* FTP client
library implemented in C, complete with source code? I've looked on the
web and as expected are 1000's of offerings, however couldn't find
anything with sources in C and is free. Target platform is Windows (CE
4.2) however will be ported to other proprietary platforms at later
stage.
ftplib: http://nbpfaus.net/~pfau/ftplib/
Dec 18 '06 #6
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
Jan 3 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Les Juby | last post by:
I have a customer with an extensive intranet which contains a lot of sensitive company data. The client is concerned that any employee could download source code back to removable storage and...
12
by: dam | last post by:
Hi, since there are tools that can decompile assemblies and show ENTIRE SOURCE CODE (!?) is there any way for developers to protect their work ? Or, is famoues .NET framework just for...
41
by: Matt Alanzo | last post by:
Our SOHO 2 person compay sells furniture (not programmers). In '98 we paid $,$$$ for a VBA -Access '97 accounting application, including VBA source code .... an huge investment for us then (and...
6
by: VB Programmer | last post by:
Typically, when you are done with a client's website, do you give them all of the source code, if they ask for it? Do you, as the developer, legally own it, or do they, because they paid you to...
9
by: WRH | last post by:
Hello I am new to asp but I made some Jscript functions which work fine. The functions contain some strings used as a registration key for some apps. It is important that these strings not be...
2
by: Booker Washington | last post by:
ORIGINAL POST BELOW.. this is an addendum.... read from THE ORIGINAL POST first and below... andthen come back up to this section now upon further reading, i can provide some more...
4
by: melanie_23 | last post by:
Hello! At my company, we are in the process of deciding which programming language to take between JSP and ASP.NET to produce dynamic web sites for our clients. By now, all the major advantages...
3
by: teddysnips | last post by:
I've been brought onto a new project and there's a file that lays out the preferred method of obtaining the source code. This file starts as follows: "Do not get the source for the web project...
1
by: Croteam | last post by:
Hello, Can somebody give me (if is that possible) source code of shtoom or yate client ( e.g. yate.exe or shtoom.exe client source code) and, Do you know any python voip module except...
1
by: Astan Chee | last post by:
Hi, Im using windows XP and I was wondering if anyone had any experience in compiling (using py2exe) the official bittorrent client ( http://download.bittorrent.com/dl/BitTorrent-5.2.0.tar.gz ) or...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.