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
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.