Yil: About 'caching' problem with browsing Virtual Folders.
Ok, i founded out what is happening...
It seems like the code is ok, it just that in first call is the cookie/variable $pwd outdated... means from last call.
Code:
CWD /INDEX/
250 CWD command successful.
PWD
257 "/INDEX" is current directory.
NLST *.*
$pwd = "/INDEX/"
Code:
CWD /INDEX/Foo
250 CWD command successful.
PWD
257 "/INDEX/Foo" is current directory.
NLST *.*
$pwd = "/INDEX/"
$pwd = "/INDEX/Foo" (correct)
Are you updating $pwd AFTER calling iTCL script or what?
I'm doing that wrong or there is something wrong in the code?
I'm convinced this is the only problem so far!
Btw: in first call (first virtual folder) it's working well.
THANKS!!!!!!
Pavel
******* UPDATE *********************************
After replacing $pwd with $ioArgs[0] everything works quite well!