cURL / Mailing Lists / curl-users / Single Mail

curl-users

regression or bug in FTP CWD function ?

From: Sebastien WILLEMIJNS <sebastien_at_willemijns.com>
Date: Sat, 26 May 2012 21:26:17 +0200

hello,

on this curl.cfg file, why they are no "CWD httpdocs" ????

url="ftp://pf3.free-h.org/httpdocs"
user="vivil.free-h_60:secret"
ftp-create-dirs
max-time="75"
connect-timeout="17"
write-out="%{size_upload} bytes - %{speed_upload} bytes/seconds \n"
trace=c:\html\curltrc

*************************************

== Info: About to connect() to pf3.free-h.org port 21 (#0)
== Info: Trying 62.210.255.114...
== Info: connected
== Info: Connected to pf3.free-h.org (62.210.255.114) port 21 (#0)
<= Recv header, 81 bytes (0x51)
0000: 220 ProFTPD 1.3.3e Server (Serveur FTP de PF3 - Free-H) [::ffff:
0040: 62.210.255.114]
=> Send header, 22 bytes (0x16)
0000: USER vivil.free-h_60
<= Recv header, 46 bytes (0x2e)
0000: 331 Mot de passe requis pour vivil.free-h_60
=> Send header, 17 bytes (0x11)
0000: PASS secret
<= Recv header, XX bytes (0xxx)
0000: 230 Utilisateur vivil.free-h_60 authentifi..
=> Send header, 5 bytes (0x5)
0000: PWD
<= Recv header, 36 bytes (0x24)
0000: 257 "/" est le r..pertoire courant
== 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 (|||55777|)
== Info: Trying 62.210.255.114...
== Info: connected
== Info: Connecting to 62.210.255.114 (62.210.255.114) port 55777
=> Send header, 8 bytes (0x8)
0000: TYPE I
<= Recv header, 27 bytes (0x1b)
0000: 200 Type param..tr.. .. I
=> Send header, 15 bytes (0xf)
0000: STOR httpdocs
<= Recv header, 38 bytes (0x26)
0000: 550 httpdocs : fichier non r..gulier
== Info: Failed FTP upload: 550
== Info: Remembering we are in dir ""
== Info: Uploaded unaligned file size (0 out of 18 bytes)
== Info: Connection #0 to host pf3.free-h.org left intact
=> Send header, 6 bytes (0x6)
0000: QUIT
<= Recv header, 16 bytes (0x10)
0000: 221 Au revoir.
== Info: Closing connection #0
-------------------------------------------------------------------
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 2012-05-26