Filezilla uploads as wrong file type w/ some WordPress files
Moderator: Project members
-
- 500 Command not understood
- Posts: 4
- Joined: 2009-08-16 04:23
- First name: Matt
- Last name: Cassarino
Filezilla uploads as wrong file type w/ some WordPress files
Hey All,
I'm an experienced web developer that is trying to find a good alternative to Dreamweaver for FTP upload of the entire WordPress installation. Dreamweaver is too slow and routinely drops the FTP connection. Filezilla gets the job done very quickly and without fail every time (so far) but the files in my /themes and /plugins directories do not work. By that I mean that I see the raw HTML/PHP code on the WordPress admin pages instead of a functional dashboard.
My first thought is that these files were uploaded as binary instead of ascii as they are .php files, but the FileZilla logs show type set to A for ASCII. The only fix I've found is to delete /themes and /plugins from the server and re-upload these files using Dreamweaver. Then WordPress admin works just fine.
I've confirmed that Filezilla upload settings are set to AUTO. And the way I upload is by highlighting all the files on the left, right-click and select Upload.
Any idea what is going wrong when Filezilla uploads WordPress /themes and /plugins?
Matt
I'm an experienced web developer that is trying to find a good alternative to Dreamweaver for FTP upload of the entire WordPress installation. Dreamweaver is too slow and routinely drops the FTP connection. Filezilla gets the job done very quickly and without fail every time (so far) but the files in my /themes and /plugins directories do not work. By that I mean that I see the raw HTML/PHP code on the WordPress admin pages instead of a functional dashboard.
My first thought is that these files were uploaded as binary instead of ascii as they are .php files, but the FileZilla logs show type set to A for ASCII. The only fix I've found is to delete /themes and /plugins from the server and re-upload these files using Dreamweaver. Then WordPress admin works just fine.
I've confirmed that Filezilla upload settings are set to AUTO. And the way I upload is by highlighting all the files on the left, right-click and select Upload.
Any idea what is going wrong when Filezilla uploads WordPress /themes and /plugins?
Matt
Re: Filezilla uploads as wrong file type w/ some WordPress files
You should actually try to upload these files as Binary. ASCII changes the line endings, maybe this is not required in your case.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
-
- 500 Command not understood
- Posts: 4
- Joined: 2009-08-16 04:23
- First name: Matt
- Last name: Cassarino
Re: Filezilla uploads as wrong file type w/ some WordPress files
Thanks for the binary tip but it didn't work. Here's what I did:
1. delete entire /plugins directory on the server
2. in Filezilla > Transfer > Transfer Type > Binary
3. dragged the entire /plugins directory from my local copy to the server
4. upload started and completed successfully
Still getting the same broken admin pages on WordPress. Confirmed that the file size of the uploaded files is exactly the same as my local files. Any idea why this didn't work? Any other ideas?
1. delete entire /plugins directory on the server
2. in Filezilla > Transfer > Transfer Type > Binary
3. dragged the entire /plugins directory from my local copy to the server
4. upload started and completed successfully
Still getting the same broken admin pages on WordPress. Confirmed that the file size of the uploaded files is exactly the same as my local files. Any idea why this didn't work? Any other ideas?
Re: Filezilla uploads as wrong file type w/ some WordPress files
Do you know the target OS of the server? Most definitely *NIX?
I think the problem is with the line endings. Explained in Data Type.
As a side note, are your files CHMODded correctly?
I think the problem is with the line endings. Explained in Data Type.
As a side note, are your files CHMODded correctly?
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
-
- 500 Command not understood
- Posts: 4
- Joined: 2009-08-16 04:23
- First name: Matt
- Last name: Cassarino
Re: Filezilla uploads as wrong file type w/ some WordPress files
Server OS is *NIX for sure. Files have proper permissions on the server as well.
Thanks for the link explaining Data Type. It seems as though binary upload would have done the trick but per my previous post it didn't work uploading the /plugins directory as binary.
So, my solution at this point is to upload via Dreamweaver and make sure I'm on a really good wi-fi connection so it doesn't disconnect mid-upload. Would sure love to use Filezilla because it is a much better FTP client.
Thanks for the link explaining Data Type. It seems as though binary upload would have done the trick but per my previous post it didn't work uploading the /plugins directory as binary.
So, my solution at this point is to upload via Dreamweaver and make sure I'm on a really good wi-fi connection so it doesn't disconnect mid-upload. Would sure love to use Filezilla because it is a much better FTP client.
Re: Filezilla uploads as wrong file type w/ some WordPress files
There are only two possible choices in this case: ASCII or Binary. Which one is used by DW?
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
-
- 500 Command not understood
- Posts: 4
- Joined: 2009-08-16 04:23
- First name: Matt
- Last name: Cassarino
Re: Filezilla uploads as wrong file type w/ some WordPress files
ASCII for .php files
BINARY for image files
Is there a way to confirm that Filezilla's settings are the same when Transfer > Auto is selected?
BINARY for image files
Is there a way to confirm that Filezilla's settings are the same when Transfer > Auto is selected?
Re: Filezilla uploads as wrong file type w/ some WordPress files
Close observation of the message log.
Re: Filezilla uploads as wrong file type w/ some WordPress files
Simple. Settings - Transfers - Filetypes
Every extension on the list is transferred ASCII, everything else Binary. By default files without extension and dotfiles are treated as ASCII, too.
Every extension on the list is transferred ASCII, everything else Binary. By default files without extension and dotfiles are treated as ASCII, too.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org