2 Replies Latest reply: Jul 18, 2011 6:45 AM by glacier434 RSS

    - error occurred - An FTP error occurred - cannot put template.css.  Access denied

    glacier434 Community Member


      Hello!

      Inexplicably I am having this error below when I try to put a file on the remote server.

      • I have tried Passive FTP and Alternative FTP.
      • There are no spaces in my file name (file name is template.css).
      • It is happening with ALL files I try to "put"
      • I have all the permissions to the server, and my username and password have been tested.
      • It seemed to happen when I was trying to remove a line of code from a Joomla template. I didn't actually remove the line of code, but that's when I noticed it happening.

       

      \css\template.css - error occurred - An FTP error occurred - cannot put template.css.  Access denied.  The file may not exist, or there could be a permission problem.   Make sure you have proper authorization on the server and the server is properly configured.

        • 1. Re: - error occurred - An FTP error occurred - cannot put template.css.  Access denied
          SnakEyez02 CommunityMVP

          Since you have stated this is a dedicated server that you are the owner of we can troubleshoot this a little further.  Click on Site->Advanced->FTP Log.  What error are you getting in the transfer?  That will state a lot.  Then make sure the permissions and ownership match the user account that you are logging in with.  If this turns out to be an ownership issue I would recommend setting recursive permissions on the account to encompass all files and folders since the login being used should assign correct ownership permissions and if it is not then that is another issue to look into.

          • 2. Re: - error occurred - An FTP error occurred - cannot put template.css.  Access denied
            glacier434 Community Member

            I just answered my own question. If I am putting to a system that also has a web interface for editing files, like Joomla, which is what I'm doing, then once I try to edit the file on the Web UI it marks the file as Read only. I have to go in via ftp and change the properties of those specific files back to writeable.

             

            I searched and searched for this answer before posting the question on this forum, which is why I decided to keep the question here. Just as an alternative solution for someone else with the same circumstances (web interface available) as myself.

             

            Ciao.