Title: Cannot read file
Last modified: June 2, 2022

---

# Cannot read file

 *  Resolved [kevemmediawebsite](https://wordpress.org/support/users/kevemmediawebsite/)
 * (@kevemmediawebsite)
 * [4 years ago](https://wordpress.org/support/topic/cannot-read-file/)
 * Hi,
 * I recently used All in One WP Migration when moving my WP site from one host 
   to another. The file exported no problem but was too large to import. I changed
   the upload max and could then upload the site but when it got to 100% I got an
   error that the file could not be read.
 * I then added the second migration plugin that seems to be used to over come this
   error but once this is added it reduces the upload max size and I cannot change
   it.
 * Is there any way to get round this? I don’t have access to CPanel with my hosting
   package and don’t know where to upload the .wpress file on Filezilla.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Yani](https://wordpress.org/support/users/yaniiliev/)
 * (@yaniiliev)
 * [4 years ago](https://wordpress.org/support/topic/cannot-read-file/#post-15702536)
 * The issue that you have is an uploading issue. The file is never uploaded because
   of your server restrictions and the plugin cannot find it when it tries to read
   it – you see that the file cannot be read error.
 * Please read this guide: [How to Increase Maximum Upload File Size in WordPress](https://help.servmask.com/2018/10/27/how-to-increase-maximum-upload-file-size-in-wordpress/)
 * The easiest way to figure out the problem is to request error logs from your 
   hosting provider for your website, then examine them around the time when you
   tried to upload the file.
    You will see what limit you have encountered and increasing
   it will solve the issue.
 * The settings in PHP that you likely need to adjust are:
    - `upload_max_filesize` – set this to a value > than your backup
    - `post_max_size` – set this to a value > than your backup
    - `memory_limit` – set this to a value > than your backup
    - `max_execution_time` – set this to 0 (infinite)

Viewing 1 replies (of 1 total)

The topic ‘Cannot read file’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-wp-migration/assets/icon-256x256.png?rev=2458334)
 * [All-in-One WP Migration and Backup](https://wordpress.org/plugins/all-in-one-wp-migration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-migration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-migration/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-migration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-migration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-migration/reviews/)

## Tags

 * [upload error](https://wordpress.org/support/topic-tag/upload-error/)

 * 1 reply
 * 2 participants
 * Last reply from: [Yani](https://wordpress.org/support/users/yaniiliev/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/cannot-read-file/#post-15702536)
 * Status: resolved