cURL / Mailing Lists / curl-library / Single Mail

curl-library

Réf. : Réf. : Re: Crash of command line tool "curl. exe" with not so bogus parameters

From: Philippe HAMEAU <philippe.hameau_at_sagem.com>
Date: Wed, 19 Jan 2005 17:43:50 +0100

I guess I'm doing something wrong. I try to upload & rename a file named
"testfile.txt" with "!" in it.

curl --verbose --upload-file c:\temp\testfile.txt -Q "+RNFR
/top/testfile.csp" -Q "+RNTO /top/testfile.csx"
ftp://127.0.0.1:9021/top/testfile.csp --trace-ascii trace.log

(still v7.12.2 mingw32)

And trace.log is the following : there does not seem to be any try to
rename the file ! what's wrong ?

== Info: About to connect() to 127.0.0.1 port 9021
== Info: Trying 127.0.0.1... == Info: connected
== Info: Connected to 127.0.0.1 (127.0.0.1) port 9021
<= Recv header, 53 bytes (0x35)
0000: 220 Msy-w00-3704 X2 WS_FTP Server 5.0.0 (467903201)
=> Send header, 16 bytes (0x10)
0000: USER anonymous
<= Recv header, 23 bytes (0x17)
0000: 331 Password required
=> Send header, 29 bytes (0x1d)
0000: PASS curl_by_daniel_at_haxx.se
<= Recv header, 20 bytes (0x14)
0000: 230 user logged in
== Info: We have successfully logged in
=> Send header, 5 bytes (0x5)
0000: PWD
<= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
== Info: Entry path is '/'
=> Send header, 9 bytes (0x9)
0000: CWD top
<= Recv header, 20 bytes (0x14)
0000: 250 CWD successful
=> Send header, 6 bytes (0x6)
0000: EPSV
<= Recv header, 21 bytes (0x15)
0000: 500 illegal command
=> Send header, 6 bytes (0x6)
0000: PASV
<= Recv header, 45 bytes (0x2d)
0000: 227 Entering Passive Mode (127,0,0,1,8,45).
== Info: Trying 127.0.0.1... == Info: connected
== Info: Connecting to 127.0.0.1 (127.0.0.1) port 2093
== Info: Connected the data stream with PASV!
=> Send header, 8 bytes (0x8)
0000: TYPE I
<= Recv header, 24 bytes (0x18)
0000: 200 Type set to IMAGE.
=> Send header, 19 bytes (0x13)
0000: STOR testfile.csp
<= Recv header, 53 bytes (0x35)
0000: 150 Opening BINARY data connection for testfile.csp
=> Send data, 4 bytes (0x4)
0000: !
<= Recv header, 23 bytes (0x17)
0000: 226 transfer complete
== Info: Connection #0 to host 127.0.0.1 left intact
=> Send header, 6 bytes (0x6)
0000: QUIT
<= Recv header, 14 bytes (0xe)
0000: 221 Good-Bye
== Info: Closing connection #0
Received on 2005-01-19