Ticket #151 (closed bugs: fixed)

Opened 6 months ago

Last modified 5 months ago

FTP Bug, cd (ftp CWD) does not work anymore (RT #3007)

Reported by: patrick Assigned to: behrmann
Priority: major Milestone: 1.8.0-15p6
Component: ftp Version: 1.8.0
Keywords: ftp, current working directory Cc:
Sub Version:

Description

Using interactive session I discovered that FTP cd command (protocol level CWD) does not work anymore. The following code doesn't work any more :

send -- "passive\r"
send -- "cd %DIR%\r"
send "put %FILE%\r"

ftp> cd test
250 CWD command succcessful. New CWD is </test>
ftp> cd timur
550 /pnfs/fnal.gov/usr/timur: Not a directory
ftp> pwd
257 "/" is current directory
ftp> cd test
250 CWD command succcessful. New CWD is </test>
ftp> pwd
257 "/" is current directory
ftp> cd test
250 CWD command succcessful. New CWD is </test>
ftp> pwd
257 "/" is current directory


Trying the dir for reading and writing files does indeed shows that current directory is always "Root".

Change History

06/04/08 08:57:18 changed by patrick

Oh oh. About resetPwdRecord, refer to the thread half a year ago on why I considered the FTP door behavior regarding multiple identities broken (essentially, the way it was implemented broke ARC [and possibly other clients] and resetting the password record was a workaround to at least make the FTP door halfway sane).

That being said, I don't know why resetting the password record should influence the current directory. It seems much more likely that the problem is that the store logic does not use the current directory at all. I will look into it ASAP.

06/04/08 09:07:43 changed by patrick

  • milestone changed from 1.8.0-15p5 to 1.8.0-15p6.

06/21/08 10:43:35 changed by tigran

  • status changed from new to closed.
  • resolution set to fixed.