Menu

#465 Unknown state "pwd_sent"

open
ftp (55)
7
2006-09-22
2004-05-19
No

Unknown state "pwd_sent"
while executing
"error "Unknown state \"$ftp(State)\"""
("default" arm line 2)
invoked from within
"switch -regexp -- $ftp(State) {
list {
fileevent $sock readable [list [namespace
current]::HandleList $s $sock]
set ft..."
(procedure "::ftp::InitDataConn" line 27)
invoked from within
"::ftp::InitDataConn 0 sock6 <<cut>> 48836"

uname -a
Linux purehype.net 2.4.22-1.2115.nptl #1 Wed Oct 29
15:42:51 EST 2003 i686 i686 i386 GNU/Linux

% info patchlevel
8.4.6

% package require ftp
2.4.1

Discussion

  • Andreas Kupries

    Andreas Kupries - 2004-07-16
    • assigned_to: andreas_kupries --> gwlester
     
  • Andreas Kupries

    Andreas Kupries - 2006-09-22
    • priority: 5 --> 7
    • assigned_to: gwlester --> andreas_kupries
     
  • Andreas Kupries

    Andreas Kupries - 2006-09-22

    Logged In: YES
    user_id=75003

    Can you attach a tcl script which excersizes the problem ?
    I see that InitDataConn's state switch has no branch for
    'pwd_sent', however I have trouble tracing the spaghetti
    that is ftp's implementation to see how it happens to have
    that value. It is indirectly called via
    Open{Active,Passive}Conn, and no user of these two commands
    has state 'pwd_sent'.

    Note: I am looking at ftp 2.4.4, as found in the CVS Head of
    Tcllib. File revision 1.42.