Menu

#49 All files (all file type) are read as directories

open
nobody
SFTP (9)
5
2012-05-16
2012-05-16
Anonymous
No

All files are read as directories during a SFTP connection. When double-clicking one, the error is:

[SFTP] Directory not opened(SFTP server: Failure)
Failure retrieving contents of directory /templates//index.php

Discussion

  • Nobody/Anonymous

    server OS: Win 2003 R2

     
  • Harry

    Harry - 2012-05-16

    Are the files all symlinks? symlinks are read as directories by default. If you shift-rightclick them, you can set them to files instead.

     
  • Nobody/Anonymous

    No they are normal php / xml files, i have tried shift right click, the popup menu shown is just the same as normal right click. No "set to files" option seen.

    Have i missed anything?

     
  • Harry

    Harry - 2012-05-22

    NppFTP gets its file information from libssh, so there is probably some bug in there. The library used is fairly out of date so an update might fix it. However, I don't really have the time to work on it right now, but I'll leave the bug open until I do, or someone else fixes it.