cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: ftp upload on solaris ftp server

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 17 Dec 2001 16:31:30 +0100 (MET)

On Mon, 17 Dec 2001, raoul cridlig wrote:

> > If so, can you show us the
> > relevant pieces of the curl
> > interfacing code?
> >
> void ftpPut(CURL *curl, char *localfile, char *remotURL)
> {

[snip]

The code looks okay. The static buffer sizes are hopefully big enough.

> > libcurl does not prefix files with anything, that
> > comes from your program.
> I'm not sure, because it work with anyelse ftp server.

Then it is probably the remote server that is configured to do this.

> > Also please include curl version number, operating
> > system and a protocol
> > dump.
> >
> curl-7.9.2
> DG/UX

You forgot the protocol dump. It would tell us instantly if the problem is a
local or remote one. Set CURLOPT_VERBOSE to TRUE to get it.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2001-12-17