when I list a dir from root, say
list /pub/linux/redhat
I get a listing as usual. If I then do:
get /pub/linux/redhat/readme.txt
I get readme.txt , ok.
If I now do :
list /pub/linux/mandrake
I get an empty dirlisting. If I do :
list /pub/linux/mandrake
I get the dirlisting with twice the contents .....
pub is a symbolic link in root.
If I do list, get, cd, list I get a normal listing.
This problem occurs with different ftp daemons.
Logged In: YES
user_id=75003
I see now difference between the first 'list' which returns an
empty list, and the second one returning a list with twice the
contents. The text around them seems to imply that they are
different command. Or do you wish to say that the second
command is identical, but behaves different nonetheless ?
Could this be a buffering issue ? The result from the first
command somehow stored internally and returned together
with the result of the next command ?
What happens when verbose logging is activated ? (From the
docs: The output of the package is controlled by two state
variables, ::ftp::VERBOSE and ::ftp::DEBUG.
Setting ::ftp::VERBOSE to "1" forces the package to show all
responses from a remote server. The default value is "0".
Setting ::ftp::DEBUG to "1" enables debugging and forces the
package to show all return codes, states, state changes
and "real" ftp commands. The default value is "0".)
This could tell us more about the data actually going to and
coming from the ftp server.