cURL / Mailing Lists / curl-library / Single Mail


Re: ftpupload.c in SCO openserver

From: behrouz zolfaghari <>
Date: Wed, 28 Jul 2004 21:54:37 -0500

Dear Linus
I didn't manage to compile the program at last!
here is the compilation command line and the errors i got.

curl-config --libz
 -L/curl/lib -lcurl -lnsl -lsocket -lz -L/usr/local/lib

 curl-config --cflags

curl-config -o ftpupload -I/curl/include -L/curl/lib -lnsl -lcurl -lsocket -lz ftpupload.c
i386ld values-Xa.o : can't find library libcurl.a
i386ld values-Xa.o : can't find library libz.a

Can you plaese help me?

I need a program for sco unix which takes an ip address , a path, and a local file
name, connects to the computer designated by the ip and uploads the
local file into the given path.

This program should use libcurl or something similar , because it shoul infinitely try the
transmission of the file and resume the transmission if the connection is

Is there any free program I can download. Or can you give me a solution?

thanks for your previous helps.

waiting for your reply

----- Original Message -----
From: Linus Nielsen Feltzing <>
Date: Tue, 27 Jul 2004 10:29:05 +0200
To: libcurl development <>
Subject: Re: ftpupload.c in SCO openserver

> behrouz zolfaghari wrote:
> > curl-config --libz
> > -L/curl/lib -lcurl -lnsl -lsocket -lz -L/usr/local/lib
> Here it says you need /usr/local/lib, but you don't have that in your
> command line.
> > the command line
> > cc -o ftpupload -lnsl -lcurl -lz -lsocket -I/curl/include -L/curl/lib
> That wasn't the complete command line, was it? I'm missing ftpupload.c
> in it.
> Anyway, try this:
> cc -o ftpupload ftpupload.c -L/curl/lib -L/usr/local/lib -lnsl -lcurl
> -lz -lsocket -I/curl/include
> Linus

Find what you are looking for with the Lycos Yellow Pages
Received on 2004-07-29