Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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

martin

Re: Deletion of file hangs and cannot be cancelled

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

Deletion of file hangs and cannot be cancelled

Just caught a bug with WinSCP 5.13.4, which perhaps would be not easy to reproduce.
I have started the file deletion and WinSCP rendered unresponsive, because it didn't react on "Close" of deletion dialog (see attachment) and this dialog captured the mouse input. I had to kill WinSCP with Task Manager. Log:
< 2018-09-06 00:03:08.813 226 Transfer complete

. 2018-09-06 00:03:08.813 Directory listing successful
...
. 2018-09-06 00:03:08.880 Startup conversation with host finished.
. 2018-09-06 00:24:18.303 Deleting file "comments.txt".
> 2018-09-06 00:24:18.312 DELE /ftp/comments.txt
. 2018-09-06 00:24:18.312 Unable to send command. Disconnected.

WinSCP hangs with similar symptoms (not able to close application) also when trying to refresh the directory contents:
. 2018-09-06 23:13:31.339 Directory content loaded from cache.

. 2018-09-06 23:13:36.272 Changing directory to "backup".
. 2018-09-06 23:13:36.274 Synchronizing current directory "/ftp/attic".
> 2018-09-06 23:13:36.277 CWD /ftp/attic
. 2018-09-06 23:13:36.277 Unable to send command. Disconnected.

I suspect that this happened because I have switched off sending keepalive commands (Advanced Site Settings → Connection → Keepalives = Off). I will keep watching...