cURL / Mailing Lists / curl-users / Single Mail

curl-users

Send command

From: Lee Elcocks <l_elcocks_at_hotmail.co.uk>
Date: Wed, 15 Dec 2010 16:10:00 +0000

Hi
 
I am trying to connect to a windows FTP client.
 
plain FTP no encryption
 
It's failing
 
Here's my Log file.........
 
== Info: About to connect() to 11.111.222.33 port 21 (#0)
== Info: Trying 91.110.154.55... == Info: connected
== Info: Connected to 11.111.222.33 (11.111.222.33) port 21 (#0)
<= Recv header, 27 bytes (0x1b)
0000: 220 Microsoft FTP Service
=> Send header, 10 bytes (0xa)
0000: USER Lee
<= Recv header, 32 bytes (0x20)
0000: 331 Password required for Lee.
=> Send header, 22 bytes (0x16)
0000: PASS 12345123456789
<= Recv header, 21 bytes (0x15)
0000: 230 User logged in.
=> Send header, 5 bytes (0x5)
0000: PWD
<= Recv header, 31 bytes (0x1f)
0000: 257 "/" is current directory.
== Info: Entry path is '/'
=> Send header, 6 bytes (0x6)
0000: EPSV
== Info: Connect data stream passively
<= Recv header, 48 bytes (0x30)
0000: 229 Entering Extended Passive Mode (|||64887|)
== Info: Trying 91.110.154.55... == Info: Timed out
== Info: couldn't connect to host
== Info: got positive EPSV response, but can't connect. Disabling EPSV
=> Send header, 6 bytes (0x6)
0000: PASV
<= Recv header, 52 bytes (0x34)
0000: 227 Entering Passive Mode (11,111,222,33,253,120).
== Info: Trying 11.111.222.33... == Info: Timed out
== Info: couldn't connect to host
== Info: Closing connection #0
 
Here is my command
 
C:\curl>curl -T C:\send.txt ftp://11.111.222.33 --user Lee:12345123456789 --trace-ascii tracelog.txt
 
I can connect via winscp no problem with same credentials, so server is ok?
 
I think i am missing something to do with the root directory? could someone confirm and possibly send a the correct syntax?
 
Thanks
 
Lee

 
 
 
 
                                                

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-12-15