[wp-trac] [WordPress Trac] #37942: ssh2 update failing

WordPress Trac noreply at wordpress.org
Sun Sep 4 17:19:12 UTC 2016


#37942: ssh2 update failing
----------------------------+-----------------------------
 Reporter:  billthor55      |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  General         |    Version:  4.6
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 ssh2 update reports it is unable to find the wp-content directory.  After
 a fair bit of testing, I have determined that the ssh2-sftp:// file paths
 are not reliable for many methods.

 I've patched my copy of class-wp-filesystem-ssh2.py to use the ssh2-sftp-
 stat method to for a number of methods including: exists, is_dir, is_file,
 getchmod...

 In testing this appears to be more reliable.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37942>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list