How do I set the rights or chmod a file in a FTP client?

Question

How do I set the rights or chmod a file in a FTP client?

Answer

Setting the rights of a file may be necessary when uploading a script or non-traditional file to your web server. To set the rights of a file or chmod a file in an FTP client, follow the instructions below. In our below example we'll be using FileZilla, our favorite free FTP client. Users who are using other clients should find the below steps similar to what they need to do.

  1. Open FileZilla.
  2. Connect to the server you're uploading the files to.
  3. On the left-hand side of FileZilla showing your files browse to the location containing the files you wish to upload.
  4. Next, on the right-hand side of the window, browse to the location you wish to upload the files to. If this location doesn't exist create it.
  5. Upload the files by dragging and dropping or right-clicking the files and selecting upload.
  6. Finally, once uploaded you'll notice that the permission by default has been set to "644" or "0644". To change that permission right-click the file and click file permissions. If you know the numeric value the file needs to be set to, enter that value into the text box and click ok or check each of the boxes you wish to set the permissions for.

Additional information

  • Additional information about CHMOD and file permissions on Linux can be found on our chmod command page.
  • See the FTP definition for further information and related links.
  • Category
  • Web design Q&A
  • Solved?
  • Were you able to locate the answer to your question?