Thank you for helping me here. Here is the script:
const module_name = "Reproduction"
const module_ver = "0.001"
' Instructions:
' on FTP site do:
' # touch /tmp/foo
' open connection to FTP, but not to /tmp dir
' execute Scripts -> Reproduction
sub reproduction
dim dir, pos
Set tmpeditor = newEditor()
tmpeditor.openFileFromFTP("/tmp/foo")
msgbox "Now you see in FTP window /tmp as location" & VbCrLf & _
"Try to open a file from file list in FTP window. " & VbCrLf & _
"It will not work, but it will work if you refresh FTP window." &
VbCrLf & _
"The problem is that list of files is not refreshed!"
end sub
sub Init
menuName = ""
addMenuItem "Reproduction", menuName, "reproduction"
end sub
--
<http://forum.pspad.com/read.php?4,43234,43286>
PSPad freeware editor http://www.pspad.com