curl-library
Re: ftp upload hangs
Date: Fri, 7 Jul 2006 18:36:21 +0200
Just found the solution, apparently I had to disable extended passive mode...
b.
On Friday 7 July 2006 18:21, Bram Biesbrouck wrote:
> Hi all,
>
> I'm implementing a standard FTP-upload routine in my program and everything
> goes fine (connecting, login, etc), but when the upload is supposed to
> begin, the program hangs on curl_easy_perform (using easy routines).
> The program itself is a GUI, using KDElibs and QT.
>
> The code is standard issue from a example cpp program, so I don't think
> that's the problem.
> Here's the servers-reaction:
> * Trying 217.22.59.214... * connected
> * Connected to 217.22.59.214 (217.22.59.214) port 21
> < 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
> < 220-You are user number 1 of 50 allowed.
> < 220-Local time is now 18:20. Server port: 21.
> < 220-This is a private system - No anonymous login
> < 220-IPv6 connections are also welcome on this server.
> < 220 You will be disconnected after 15 minutes of inactivity.
>
> > USER 71
>
> < 331 User 71 OK. Password required
>
> > PASS ******
>
> < 230-User 71 has group access to: isduser
> < 230 OK. Current restricted directory is /
>
> > PWD
>
> < 257 "/" is your current location
> * Entry path is '/'
>
> > EPSV
>
> * Connect data stream passively
> < 229 Extended Passive mode OK (|||21788|)
> * Trying 217.22.59.214...
>
> Can anyone help me??
>
> bram
Received on 2006-07-07