Hello, Alexandr.
Made some tests on this bug. Have found that all this is due to Implicit SSL mode used (ftps).
The following commands produce:
open ftps://test:[EMAIL PROTECTED]/test1/
---- Connecting to testhost (testip) port 990
---> FEAT
<--- 220 Gene6 FTP Server v3.8.0 (Build 34) ready...
---> CLNT lftp/3.7.0
---> OPTS UTF8 ON
---> USER test
<--- 530 Please login with USER and PASS first.
<--- 530 Please login with USER and PASS first.
<--- 331 Password required for test.
---> PASS pass
---> CLNT lftp/3.7.0
---> OPTS UTF8 ON
---> PWD
---> PBSZ 0
<--- 230 User test logged in.
<--- 200 Noted.
<--- 200 UTF8 OPTS ON
<--- 257 "/" is current directory.
---> CWD /test1
<--- 200 PBSZ=0
<--- 250 CWD command successful. "/test1" is current directory.

ls
---> CWD /
---> PROT P
<--- 250 CWD command successful. "/" is current directory.
<--- 200 PROT command successful.
---> PASV
---> LIST
<--- 227 Entering Passive Mode (testip,81,82)
---- Connecting data socket to (testhost) port 20818
---- Data connection established
<--- 150 Data connection accepted from testip:4633; transfer starting.
---- Got EOF on data connection
---- Closing data socket
<--- 226 Transfer ok.
copy: get hit eof
copy: waiting for put confirmation
copy: put confirmed store
copy: get is finished - all done
---> QUIT
---- Closing control socket


cd ok, cwd=/test1
drw-rw-rw-   1 user     group           0 Apr 21 13:37 test1

Again there is a bad CWD / command.
The cd command seems doesn't perform correctly under the Implicit SSL mode.

Reply via email to