cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem with ftp upload

From: Peter Soxberger <Peter.Soxberger_at_gmx.net>
Date: Tue, 04 Aug 2009 11:07:00 +0200

Thanks for your answer!

I managed to get it working now, the problem was that I forgot to add the filename to the url. The problem was easy to find wit CURL_VERBOSE (I will use it before posting something here next time).

Best regards,
Peter

-------- Original-Nachricht --------
> Datum: Tue, 28 Jul 2009 15:06:03 +0200 (CEST)
> Von: Daniel Stenberg <daniel_at_haxx.se>
> An: libcurl development <curl-library_at_cool.haxx.se>
> Betreff: Re: Problem with ftp upload

> On Tue, 28 Jul 2009, Peter Soxberger wrote:
>
> > I'm having a problem with coding a function that uploads a file using
> ftp.
> > The code is taken over from the example on the homepage. But when
> > curl_easy_perform() is called it returns UPLOAD_FAILED.
>
> It'll be much better for us to see the output from setting CURLOPT_VERBOSE
> to
> 1. I find it suspicious that libcurl sent both EPSV and PASV even though
> the
> first clearly responded fine. I would suspect an (evil) firewall or other
> network device between the client and server that blocks some ports.
>
> Also, you should mention your libcurl version and operating system as it
> might
> offer additional clues.
>
> --
>
> / daniel.haxx.se

-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
Received on 2009-08-04