cURL / Mailing Lists / curl-library / Single Mail

curl-library

Error 56 (response reading failed) with a simple FTP

From: Paul Monteiro <sorcer1_at_hotmail.com>
Date: Fri, 5 Feb 2010 12:31:49 +0000

Hello all,

I try to connect to a simple FTP server like this :

curl.exe --user user:pass --upload-file myfile.txt ftp://127.0.0.1:222/share --trace trace.txt

and i had an error : Error 56 (response reading failed) !
so , this is the trace :

== Info: About to connect() to 127.0.0.1 port 222 (#0)
== Info: Trying 127.0.0.1... == Info: connected
== Info: Connected to 127.0.0.1 (127.0.0.1) port 222 (#0)
<= Recv header, 43 bytes (0x2b)
0000: 53 53 48 2d 32 2e 30 2d 4f 70 65 6e 53 53 48 5f SSH-2.0-OpenSSH_
0010: 35 2e 31 70 31 2b 73 66 74 70 66 69 6c 65 63 6f 5.1p1+sftpfileco
0020: 6e 74 72 6f 6c 2d 76 31 2e 32 0a ntrol-v1.2.
== Info: FTP response reading failed
== Info: Closing connection #0

i can connect with psft from putty

Can somebody help me ?

thanks.
                                               
_________________________________________________________________
Nouveau ! Tout Windows Live débarque dans votre téléphone. Voir les Windows phone
http://clk.atdmt.com/FRM/go/175819071/direct/01/

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-02-05