I'm trying to restore a Wordpress site, which require the upload of numerous files. I'm on Windows, using last version of FileZilla.
Problem: among them, some files fails to upload correctly on the server, weighing 0 Ko.
I get the notification "All files could not be transfered ". If I retry to upload the files individually I get the same error.
The log displays this error: "could not open file".
Don't know if it helps: all files are located on the internal disk, path is my "MyName/Documents", synced with OneDrive.
I have tried two solutions:
1) Suspecting the problem is caused by the location of the file, I moved them to a different folder.
2) I have attempted to change the "read only" option on the folders without success.
Surprisingly, some files that could'nt be uploaded from a given folder could be uploaded after storing them elsewhere on my disk.
Thanks for your help,
Unable to open file : upload fails
Moderator: Project members
Re: Unable to open file : upload fails
A new attempt today resulted in the same error,
Below is the full pattern:
As for the Wordpress site, the extensions are having holes in their php files and the whole site has a critical error.
As long as FileZilla can't copy the files, I can't use the backups and restore the site.
The errors are mainly on the extension files, so I deleted all extensions folders that weren't correctly copied and the site works.
I continue to look for solutions, any help is welcome
Below is the full pattern:
- Displays an error in the upper log ("unable to open").
Code: Select all
Command: put "C:\Users\...\BlockBackgroundAnimationManager.php" "BlockBackgroundAnimationManager.php" Error: local: unable to open C:\Users\...\BlockBackgroundAnimationManager.php Error: File transfer failed
- When this happens, FileZilla uploads a 0 byte file with this name.
- This file adds up to the failed transfers list.
As for the Wordpress site, the extensions are having holes in their php files and the whole site has a critical error.
As long as FileZilla can't copy the files, I can't use the backups and restore the site.
The errors are mainly on the extension files, so I deleted all extensions folders that weren't correctly copied and the site works.
I continue to look for solutions, any help is welcome
Re: Unable to open file : upload fails
Could the file already be opened and locked in a different program?