Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

bob.c@...

Error changing directory to '/public_ftp' - TFTPFileSystem::HandleListData

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>
I tried to change from public_ftp to public_html, as admin
WinSCP 5.9.4

Error message:
Error changing directory to '/public_ftp'.

Invalid access to memory.

Stack trace:
(006AECEA) TFTPFileSystem::HandleListData
(00866B5E) C5073_0
(00868BC6) ____ExceptionHandler
(00865980) __ExceptionHandler
(00045D46) ntdll.dll.RtlRaiseStatus
(00045BD2) ntdll.dll.KiUserExceptionDispatcher
(0069784B) TFileZillaImpl::HandleListData
(004F48C0) TFileZillaIntf::HandleMessage
(006A8EA4) TFTPFileSystem::ProcessMessage
(006A912F) TFTPFileSystem::DoWaitForReply
(006A921B) TFTPFileSystem::WaitForReply
(006A9274) TFTPFileSystem::WaitForCommandReply
(0069C382) TFTPFileSystem::ChangeDirectory
(0077E15A) TTerminal::ChangeDirectory
(007745D2) TTerminal::SetCurrentDirectoryW
(00655F66) TUnixDirView::SetPath
(00046062) TScpCommanderForm::RemotePathLabelPathClick
(003FDC0D) Pathlabel::TCustomPathLabel::DoPathClick
(003FC4A7) Pathlabel::TCustomPathLabel::Click
(0024B125) Vcl::Controls::TControl::WMLButtonUp
(0024A360) Vcl::Controls::TControl::Perform
(0024EB37) Vcl::Controls::TWinControl::IsControlMouseMsg
(0024E8B0) Vcl::Controls::TWinControl::MainWndProc
(0037322C) System::Classes::_18201
(0001B4B4) USER32.dll
(0001B5B2) USER32.dll
(0001BBE4) USER32.dll
(0001BC3B) USER32.dll.DispatchMessageW

(008671C9) C5073_0
(008687A3) _ReThrowException
(006A919C) TFTPFileSystem::DoWaitForReply
(006A921B) TFTPFileSystem::WaitForReply
(006A9274) TFTPFileSystem::WaitForCommandReply
(0069C382) TFTPFileSystem::ChangeDirectory
(0077E15A) TTerminal

The problem happens rarely. I cannot reproduce it.
martin

Re: Error getting name of current remote directory - TFTPFileSystem::HandleListData

Thanks for your report.
I have sent you an email with a debug version of WinSCP to the address you have used to register on this forum.
william@...

Error getting name of current remote directory - TFTPFileSystem::HandleListData

Easy, and it's been a problem with EVERY version of WinSCP: in Explorer view, if I start to type a folder name while the treeview has focus, WinSCP abends. Sometimes I get lucky, so then can click on the listview side and continue on.

WinSCP 5.9

Error message:
Error getting name of current remote directory.

Invalid access to memory.

Stack trace:
(006AB982) TFTPFileSystem::HandleListData
(0086216E) C5073_3
(008641D6) ____ExceptionHandler
(00860F90) __ExceptionHandler
(0008A61F) ntdll.dll
(00077E7A) ntdll.dll.KiUserExceptionDispatcher
(006945CF) TFileZillaImpl::HandleListData
(004F3C00) TFileZillaIntf::HandleMessage
(006A5BC0) TFTPFileSystem::ProcessMessage
(006A5E4B) TFTPFileSystem::DoWaitForReply
(006A5F37) TFTPFileSystem::WaitForReply
(006A5F90) TFTPFileSystem::WaitForCommandReply
(0077343D) TTerminal::ReadCurrentDirectory
(0076F637) TTerminal::ReactOnCommand
(00657E12) TCustomUnixDriveView::Change
(002853FE) Vcl::Comctrls::TCustomTreeView::CNNotify
(0040BF9D) Customdriveview::TCustomDriveView::CNNotify
(0024E715) Vcl::Controls::TWinControl::WndProc
(002856BA) Vcl::Comctrls::TCustomTreeView::WndProc
(0024E87B) Vcl::Controls::_17076
(0024E715) Vcl::Controls::TWinControl::WndProc
(0024DD5C) Vcl::Controls::TWinControl::MainWndProc
(0037264C) System::Classes::_18201
(000374F1) USER32.dll
(00015C3B) USER32.dll
(0001581B) USER32.dll
(0001C167) USER32.dll
(00077E54) ntdll.dll.KiUserCallbackDispatcher
(00014EDE) USER32.dll.SendMessageW
(0007DBD8) COMCTL32.DLL
(00034F23) COMCTL32.DLL
(00034D8A) COMCTL32.DLL
(0010873F) COMCTL32.DLL
(000CF107) COMCTL32.DLL
(000374F1) USER32.dll
(00015C3B) USER32.dll
(000159D2) USER32.dll.CallWindowProcW
(0024E826) Vcl::Control

I know how to reproduce the problem or the problem happens frequently enough. I wish to be contacted by the WinSCP team to help resolving the problem.