sWG community

What's going on:
Terry! in Celebrity Big Brother 2009 by chickenlips!
Dead set - horror based on... in Television by Stormy
Anyone on Yoville on Facebook? in General discussions by Superduper






Advertisement




Go Back   sWG community > Webmaster forums > Tutorials  > [PHP] How to 'CHMOD' a file using Filezilla


Reply
 
Thread Tools
Old 14-07-2008, 03:57 PM   #1
Josh@SWG
Forum admin
 
Josh@SWG's Avatar
 
Join Date: Jun 2008
Location: Hampshire
Posts: 946
Credits: 1,520,465,816
Josh@SWG is a splendid one to beholdJosh@SWG is a splendid one to beholdJosh@SWG is a splendid one to beholdJosh@SWG is a splendid one to beholdJosh@SWG is a splendid one to beholdJosh@SWG is a splendid one to behold
Send a message via MSN to Josh@SWG



Default How to 'CHMOD' a file using Filezilla

CHMOD files using FileZilla
This small tutorial will guide you through 'chmodding' a file using the latest FileZila FTP client (3.0.11.1) The process should be similar for all other FTP clients however.

If you haven't got FileZilla you can download it, for free, here: http://filezilla-project.org/

Firstly an introduction. So what exactly is chmod and why do you have to do it? Well the chmod command is short for 'change mode' used in *nix platforms. It basically changes the modes of files and directories, such as their permissions. The reason why it is sometimes required to chmod files is because often we may want to write or execute a file on our server but we do not have the required permissions. Changing the file permissions using chmod will allow us to do this.

1. Open FZ and connect to your server
The first step is to open the FileZilla client and connect to your server.


2. Browse to the file you wish to CHMOD
Next you'll need to browse to the location of the file it is you wish to chmod. In this tutorial I will be altering the permissions on a txt file for a referral logger.

As you can see there is a permissions column which shows the current permissions for the files:

Where r = read, w = write and x = execute

3. Select the file attributes option
Right click the file you wish to edit, in my case it is refers.txt and select the File Attributes... option.

This will bring up the the file attributes options menu with the current permissions shown:


4. Change the settings
Nearly there now! This bit is pretty simple: just change the values to suit your needs or what you have been instructed to do so. You can either type in the numeric value or simply check the correct permissions. Once you're done simply click OK. In this example I am changing the permissions to 777:


5. All done!
And that's it! Your client should have updated the permissions column to show your new permissions:

Last edited by Josh@SWG; 14-07-2008 at 04:01 PM..
Josh@SWG is offline   Reply With Quote

Advertisement - login or register to remove this ad!


Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




Advertisement



All times are GMT. The time now is 12:19 AM.

Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
Forum Topsite

Login
Most recent threads
Popular forums
Active threads
Arcade leaders
Forum statistics
There are currently 20 users online, 18 guests and 2 members.

Welcome to our newest member, guitarfreternity