If you want to see the files to any directory of your site, administration access which you do not, check did its owner to turn off the option to display files in the server folder. To do this, type into the address bar of the browser the URL of this folder and press Enter. If you are lucky, you will see a page with a title beginning with Index of and containing a list of links to files and folders in this directory.
Use a download Manager that allows you to make the most complete copy of the website as another opportunity to access as many files in the web resource, the administrator of which you are not. There are programs that are specialized on creating copies of websites - for example, Teleport or WinHTTrack. However, this method can get only the files to which access from the Internet allowed in the server settings. For example, the executable file on the server PHP scripts you will not see, and will only receive the results of their work.
If you have administration rights on the website, the files which interest you, you can use the file Manager. It is included as part of management systems sites (e.g. UCOZ) and a standard set of options, hosting control panels (e.g. cPanel). This module allows you to view lists of files and carry with them the necessary operations directly in the browser.
The other way to gain access to the list of site files, passwords and logins to FTP account which you are aware, is to use a specialized program of FTP client (e.g. FileZilla, SmartFTP, etc.). This program performs the same functions as the standard file Manager in your computer - allows you to view, move, create, delete, set permissions to files and folders of the website, hosted on a web server. The interface of this program is also very similar to the standard Windows Explorer. The main difference is that for each website files which you want to access, you must enter the password, user name, and the address of the FTP server.
Advice 2 : How to go to the root directory
The root directory is the main folder of the drive, which contains all the information. To enable it, click with the mouse on the desktop button "start" and "My computer". In the opened window click the desired drive - the result will be a hit in its root directory (folder). If the window is open the folder with the buttons window exit, repeating the process until you reach the root directory. Go to the root directory convenient to make from the shell of Total Commander.
You will need
- computer with Windows XP operating system and shell Total Commander.
Go to the root directory in window operating system Windows HRW menu "start", find "My computer" and click on it with the mouse. In the opened window, in the list of disks, click the disk - the result will be an entry in the root directory of the selected disk (this is the directorythat contains all the information that is on the disc). In the address bar will show "Disk:". For example, if you go to the disk, the label will be of the form "From:".
In the root directoryof the e drive contains the files and folders by clicking on the desired folder, go to it. In the address bar will show "Disk:folder name". For example, if you go to the Temp folder, in the specified row will be displayed:Temp. In the public folder you can go into another folder and so on. In the address bar, then shows the folder where the file was accessed "Drive:папка1папка2папка3.....".
To get back to the root directory, find it in the top of the window button "Up". Clicking on it, consistently come out of each directoryand, as long as the address bar again appears "Disk:". To quickly jump to the root directory of the disk in the top of the window click "Folders". The right side will appear a folder tree that reflects the structure of the subfolders. Click on relevant drive, and immediately go into its root directory. In other versions of Windows use the same technique.
Go to the root directory in the shell Total CommanderЕсли in the shell Total Commander is open an arbitrary folder, pay attention to the top of the window, which reflects its contents. If there are two dots, click on them with the mouse in and out to level up. Continue this action until the MEAs long as the top does not prove these points - this will be the root directory, than make sure that you saw at the top of the window that says "Drive:".
Jump to the root directory of the current (open) disk produced by pressing Ctrl+.
Advice 3 : How to find the root of the site
The root folder of a site is the topmost in its hierarchy directory, which is nested in the other directories. Usually, when talking about the root folder, do not mean her http address displayed in the address bar of the browser, and the full path from the root directory of the server where the website is hosted. To get to this folder easily enough, if you have access to her administration.
If you administer a web resource uses the content management system, open root folder, you can use the built-in file Manager of this system. As a rule, it is enough to go to the Manager page file - by default, most of them opens the directory tree of the website in the root directory. To make sure that in your system it so, try to go to the parent folder of the directory hierarchy scripts sites will not allow the site administrator to rise above the root directory, as this requires a higher level of access.
If you are using to access the site files are installed in the computer program - FTP-client - the principle of action in determining the root folder will be the same. After a connection is established with the server try in a directory tree to climb one level above the open folder by default. If this do not work (the request is sent, but the active directory will remain the same), so this is the root folder of the website. The server scripts determine it automatically by reading the address from the database and is entered during login the login and password of the user.
It is often necessary to know the full path to the root folder of the website when you run server-side scripts - for example, for them to work correctly at startup on schedule (crontab). Most often as the language of writing such a php script, which retrieve the full path to the root directory of the site from variable, placed in the superglobal $_SERVER. To select in this array use the index of the DOCUMENT_ROOT. For example, display the path to the root folder of the website in a blank page when run in the browser be saved to the server php script:
<?php echo $_SERVER['DOCUMENT_ROOT'] ?>
<?php echo $_SERVER['DOCUMENT_ROOT'] ?>