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

eques wrote:

Should I report this behavior to Simon since it occurs in PSFTP as well?

I'm not sure if it is worth it. I doubt it is PSFTP related. But you can try it.
eques

Yes, SCP allows me to list the directory.

Should I report this behavior to Simon since it occurs in PSFTP as well?
martin

Sorry. I have not idea what may go wrong. Have you tried to use SCP instead of SFTP?
eques

Yes, I can.
martin

Re: Directory Listing Timing Out on a Specific Directory

Can you list the directory with sftp on linux command line?
eques

Directory Listing Timing Out on a Specific Directory

Greetings:

I've got a directory on my linuxbox that consistently times out when the directory listing is requested. I can access the directory fine on the shell, via samba, and via sftp on the linux command line, but psftp exhibits the same behavior.

I attempted to increase the timeout from 15 to 60 seconds, but as psftp shows, no duration is sufficient.

It appears that the client receives SSH_FXP_HANDLE and never receives a response after sending SSH_FXP_READDIR.

I've downloaded the latest version of PuTTY (0.59 at the time of this writing) and it exhibits the same behavior, so this may well be a PuTTY problem, but, truth be told, I'm not sure how to report it.

Following is the relevant log excerpt. The directory that doesn't seem to work is /site/web/hopfrog.pyrich.com/htdocs/Lilly. There's nothing abnormal about the directory that I can see.


. 2007-02-14 10:34:05.988 Cached directory change via "drawings" to "/site/web/hopfrog.pyrich.com/htdocs/drawings".
. 2007-02-14 10:34:05.988 Getting current directory name.
. 2007-02-14 10:34:05.988 Listing directory "/site/web/hopfrog.pyrich.com/htdocs/drawings".
> 2007-02-14 10:34:05.988 Type: SSH_FXP_OPENDIR, Size: 53, Number: 5643
. 2007-02-14 10:34:05.998 Sent 57 bytes
. 2007-02-14 10:34:05.998 There are 0 bytes remaining in the send buffer
. 2007-02-14 10:34:05.998 Received 4 bytes
. 2007-02-14 10:34:05.998 Received 24 bytes
< 2007-02-14 10:34:05.998 Type: SSH_FXP_STATUS, Size: 24, Number: 5380
. 2007-02-14 10:34:05.998 Discarding reserved response
. 2007-02-14 10:34:05.998 Waiting for another 4 bytes
. 2007-02-14 10:34:05.998 Received 4 bytes
. 2007-02-14 10:34:05.998 Received 13 bytes
< 2007-02-14 10:34:05.998 Type: SSH_FXP_HANDLE, Size: 13, Number: 5643
> 2007-02-14 10:34:05.998 Type: SSH_FXP_READDIR, Size: 13, Number: 5900
. 2007-02-14 10:34:05.998 Sent 17 bytes
. 2007-02-14 10:34:05.998 There are 0 bytes remaining in the send buffer
. 2007-02-14 10:34:05.998 Waiting for another 4 bytes
. 2007-02-14 10:34:06.008 Received 4 bytes
. 2007-02-14 10:34:06.008 Received 4471 bytes
< 2007-02-14 10:34:06.008 Type: SSH_FXP_NAME, Size: 4471, Number: 5900
> 2007-02-14 10:34:06.008 Type: SSH_FXP_READDIR, Size: 13, Number: 6156
. 2007-02-14 10:34:06.008 Sent 17 bytes
. 2007-02-14 10:34:06.008 There are 0 bytes remaining in the send buffer
. 2007-02-14 10:34:06.008 Waiting for another 4 bytes
. 2007-02-14 10:34:06.008 Received 4 bytes
. 2007-02-14 10:34:06.008 Received 28 bytes
< 2007-02-14 10:34:06.008 Type: SSH_FXP_STATUS, Size: 28, Number: 6156
< 2007-02-14 10:34:06.008 Status/error code: 1
> 2007-02-14 10:34:06.008 Type: SSH_FXP_CLOSE, Size: 13, Number: 6404
. 2007-02-14 10:34:06.008 Sent 17 bytes
. 2007-02-14 10:34:06.008 There are 0 bytes remaining in the send buffer
. 2007-02-14 10:34:06.388 Session upkeep
. 2007-02-14 10:34:06.388 Detected incoming data while idle
. 2007-02-14 10:34:06.889 Session upkeep
. 2007-02-14 10:34:07.390 Session upkeep
. 2007-02-14 10:34:07.740 Cached directory change via "/site/web/hopfrog.pyrich.com/htdocs/Lilly" to "/site/web/hopfrog.pyrich.com/htdocs/Lilly".
. 2007-02-14 10:34:07.740 Getting current directory name.
. 2007-02-14 10:34:07.740 Listing directory "/site/web/hopfrog.pyrich.com/htdocs/Lilly".
> 2007-02-14 10:34:07.740 Type: SSH_FXP_OPENDIR, Size: 50, Number: 6667
. 2007-02-14 10:34:07.740 Sent 54 bytes
. 2007-02-14 10:34:07.740 There are 0 bytes remaining in the send buffer
. 2007-02-14 10:34:07.740 Received 4 bytes
. 2007-02-14 10:34:07.740 Received 24 bytes
< 2007-02-14 10:34:07.740 Type: SSH_FXP_STATUS, Size: 24, Number: 6404
. 2007-02-14 10:34:07.740 Discarding reserved response
. 2007-02-14 10:34:07.740 Waiting for another 4 bytes
. 2007-02-14 10:34:07.740 Received 4 bytes
. 2007-02-14 10:34:07.740 Received 13 bytes
< 2007-02-14 10:34:07.740 Type: SSH_FXP_HANDLE, Size: 13, Number: 6667
> 2007-02-14 10:34:07.740 Type: SSH_FXP_READDIR, Size: 13, Number: 6924
. 2007-02-14 10:34:07.740 Sent 17 bytes
. 2007-02-14 10:34:07.740 There are 0 bytes remaining in the send buffer
. 2007-02-14 10:34:07.740 Waiting for another 4 bytes
. 2007-02-14 10:34:07.750 Waiting for another 4 bytes
. 2007-02-14 10:35:07.757 Waiting for data timed out, asking user what to do.
. 2007-02-14 10:35:07.757 Asking user:
. 2007-02-14 10:35:07.757 Host has not answered for 60 seconds.
. 2007-02-14 10:35:07.757
. 2007-02-14 10:35:07.757 Wait for another 60 seconds? Pressing 'Abort' button will close session. ()
. 2007-02-14 10:35:07.837 Session upkeep
. 2007-02-14 10:35:07.977 Session upkeep
. 2007-02-14 10:35:08.478 Session upkeep
. 2007-02-14 10:35:08.978 Session upkeep
. 2007-02-14 10:35:09.479 Session upkeep
. 2007-02-14 10:35:09.980 Session upkeep
. 2007-02-14 10:35:10.050 Attempt to close connection due to fatal exception:
* 2007-02-14 10:35:10.050 Terminated by user.
. 2007-02-14 10:35:10.050 Closing connection.