[wp-trac] [WordPress Trac] #26802: Wordpress FTP component fails to update core on IIS7+

WordPress Trac noreply at wordpress.org
Thu Jan 9 21:35:51 UTC 2014


#26802: Wordpress FTP component fails to update core on IIS7+
--------------------------+-----------------------------
 Reporter:  WinWPAdmin    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  IIS           |    Version:  3.7.1
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 Update fails with this error : Could not copy file.: wp-admin/update-
 core.php

 Steps to reproduce :
   * Clean install of Windows 2012R2 in a virtual machine
   * PHP version 5.4.23 installed, configured, and tested as per Microsoft
 Instructions
   * Granted FTP user full control of entire web root
   * Granted web server user read access to web root
   * Verified the ability to connect with a remote FTP client, create a
 folder, upload a file, delete the file, delete the folder
   * Installed wordpress 3.7.1
   * Logged into wordpress admin, clicked on 3.8 upgrade link
   * prompted for FTP credentials, supplied same credentials as in my test
 above
   * wordpress update failed with the following message

 {{{
 Downloading update from https://wordpress.org/wordpress-3.8-new-
 bundled.zip…

 Unpacking the update…

 Verifying the unpacked files…

 Preparing to install the latest version…

 Enabling Maintenance mode…

 Copying the required files…

 Disabling Maintenance mode…

 Could not copy file.: wp-admin/update-core.php

 Installation Failed
 }}}

 I then verified that the update could be done manually via an FTP client

   * Manually downloaded wordpress-3.8-new-bundled.zip form wordpress.org
   * Manually unzipped into temporary directory
   * Manually uploaded contents of entire zip file to server
   * ran wp-admin/update-core.php
   * Updated the database as prompted

 Wordpress successfully updated to 3.8 using this manual FTP upload method.
 The only difference is that I used my own FTP client (Filezilla) instead
 of the wordpress FTP component.

 I think its fair to say at this point that there is a potential bug in the
 FTP component which manifests itself on IIS servers.

 WWW, FTP, and PHP Log files are available upon request.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26802>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list