Question about the following: Create an empty file named ad_network_ads_216.txt in the same directory. The web server user should have write permissions to this file. An easy way to set the permissions would be with the following command: chmod 666 ad_network_ads_216.txt I'm brand new to this and using Dreamweaver as my FTP client. I can't figure out how to modify permissions using it. Any help? Sorry if this is a silly question. It'll all probably crystal clear once I'm pointed in the right direction. Thanks!
If you are a newbie, the best thing you can do is just ask your host to change them for you. Any decent host will do it in minutes and this will insure it is done right. Just email them the level of permisions (777, etc) and the files or folders effected (i.e ad_network.txt)
At a minimum you should learn how to transfer files to your server. You need FTP (File Transfer Protocol) Look at the chmod demo here. http://www.smartftp.com/support/howto/
To upload webpages I use Core FTP Lite ( A freebie I found on Download.com) To create a "777" you highlight the file which you have uploaded and click on 'Properties. This opens a panel which allows you to alter these values - just enter 777 in the box - dead simple! I presume a similar feature would probably be on any FTP program.
I'm quite familiar with FTP on Dreamweaver and I had ditched other clients out of lack of need. Just can't figure out how to modify file properties using DW. Seems simple enough using other programs, I suppose I will have to download one again. Thanks for the comments and suggestions
I've never found a way to do it in Dreamweaver. I use LeapFTP to login when I need to do chmod. Most cpanels have a file browser where you can view the directory/file structure of your site and set permissions directly.
i can't find where it in DW either ... but to be honest ... the i use it ... but any heavy ftp lifting, i use cute FTP ... DW is slow and it acts abit buggy sometimes with FTP. i think they need to acquire an FTP app and build it in, cause they don't do FTP so well.
It's a snap in Dreamweaver. Go to the FTP Log console, and type in: site chmod 755 yourfile.htm Or, go to DOS and run it in command line. It's fun to DOS once a day.. so Wargames'y.
Thanks! That information is very helpful! So as to not start a completely new thread... If my path to my file is: <a href="../../../ad_network_217.php"> Where exactly to I place this in the code below? And where in my overall header file should this be located? I am excessively new to this, sorry. I think I know the answers but I want to be sure I'm not making too many assumptions. Thanks in advance! <?php ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../'); include ('ad_network_217.php'); echo $ad_network; ?>
It's actually very simple: In the files menu at left, switch the view of your website directory from "Local View" to "Remote View". Then right-click (or control-click if you have a Mac) on your file you want to change permissions on. Click "Set permissions..." and either check your options or enter the permission code.
you can download the set permissions extenstion here at the dreamweaver exchange site http://www.adobe.com/cfusion/exchange/index.cfm?view=sn120#view=sn106&viewName=Exchange%20Search%20Details&loc=en_us&authorid=13654190&page=0&scrollPos=0&subcatid=0&snid=sn106&itemnumber=1&extid=1013101&catid=0