### Files (WEB file sharing PHP script)

A shared folder and operation explanation

Back

### Table of contents

1. Login Page (Shared Folder)
2. File list
3. Password Setting
4. User and Group Setting
5. Download
6. Upload
7. Make New Folder
8. Movement to a subfolder
9. Edit
10. Delete
11. Copy, Cut, Paste

1) Login Page (Shared Folder)

If a "name" or "URL" of a folder is chosen by folder list of a management screen, it will jump on the login screen of a shared folder. When inputting URL into the address input column of a browser directly, it inputs like http://www.server.com/filesXXX/folders/settei-name/index.php.

It is admin like the time of a management screen. Only the user is registered and the default password of the administrator by whom the password is set up by the configuration file is set up.
At a default, it is in the user ID column. admin In a password nimda is inputted and "login" is chosen.

[Page Top]
2) File list

Login will display the file list of the head folders of a shared folder.

It is in the state where anything does not have a file at first as shown in the above figure. The state where a folder is created or the file has uploaded becomes as it is shown in the following figure.

[Page Top]

"Password Setting":
  The password for accessing this shared folder is set up.
"User and Group Setting":
  A user's creation, the deletion and the creation of a group which access this shared folder, deletion, and the group to which a user belongs are set up.
"Upload":
  A file is uploaded from a local machine to this shared folder.
"Make Folder":
  A subfolder is created to this shared folder. A subfolder can also be further created in a subfolder.
"Order":
  The order of sorting of the file list of this shared folder is specified.
  One of five of "Filename", "Comment", "Create User", "Size", "Date" is chosen, an "Ascend" and a "Descend" are chosen, it stands in a line by "Redisp", and order changes.
  The default is a descending order of the date. (A new thing is a head)
"Edit":
  If an icon is selected, the file name of the file (folder) of the line, a comment, a date, permission, etc. can be changed.
"Delete":
  Selection of an icon will delete the file (folder) of the line. A check displays a field before deletion.
"Copy":
  Selection of an icon will copy the file (folder) of the line to a cut buffer.
  (see below-mentioned "Copy", "Cut", "Paste" about a cut buffer)
"Cut":
  Selection of an icon will move the file (folder) of the line to a cut buffer.
  (see below-mentioned "Copy", "Cut", "Paste" about a cut buffer)

[Page Top]
3) Password Setting

File list upper part "Password Setting" If it chooses, the password setting screen of the following figure will open.

A password inputs the thing same twice for a check.
If it inputs and a "Apply" is chosen, since the screen of the following figure will be displayed, it returns to a menu by "Back"

When logged in by an administrator (admin), password change of users other than themselves and creation of a new user account can be performed. The method of creating a user account only "Apply" up new user ID and a new password.
[Page Top]
4) User and Group Setting

File list upper part "User and Group Setting" If it chooses, the setting screen of a group will open with the user of the following figure.

To add the group, the group name is input to the input column under the left side of the screen and "Add" button is pushed.
To add the user, the user name is input to the input column under the right side of the screen and "Add" button is pushed.
When the group name is selected by listing "Group", the user who belongs to the group is displayed in "Group User" list at the center.
The group that registers by listing "Group" ..unpalatable.. is selected, the user who registers next by "User ID" list is selected, and the user's registration to the group is added to the group with "<--" (left arrow) button.
The user who deletes it by "Belonging user of the group" list is selected to delete the user from the group, and it deletes it from the group with "-->" (right arrow) button.
The user to the group is added, and the deletion is fixed to push "Update" button.
The group or the user who deletes it by each list of "Group" or "User ID" is selected, "Delete" button at the right of the list is pushed, and the deletion of the group is deleted with the user.
[Page Top]
5) Upload

The up-loading screen in the figure below opens when "Upload" in the upper part of the file list is selected.

When "Reference" button is clicked, the screen where the file of a local machine is selected is displayed on the up-loading screen.

[Page Top]
The file up-loaded from a local machine on the file selection screen is selected. We will recommend the up-loaded file name not to use Japanese because of download

If a file is chosen, a "Comment" and a "Create User" will be filled in. Although the present time is contained at "Create Date" and "Create Time", editing, if it changes and excels is also possible.

Upload will be started if "Upload" button is finally clicked.
Upload requires time according to file size.

When the file of the same name as the folder to upload exists, an overwrite check dialog as shown in the following figure is displayed.

"O.K." will be chosen if you may overwrite.
When the file chosen after an upload screen is displayed before performing upload operation, and the file of the same name have uploaded from other hosts, a confirmation screen is not displayed, but overwrite displays the message of the purport that the existing file of a same name exists without being carried out.
[PAge Top]
6) Download

To download the file, click the icon or filename in the list with mouse's left button.

Because the download dialog of the file is displayed, "Save" is selected.
Since the dialog of file preservation will be displayed if it chooses, a suitable name is named and saved.

Download is performed per file. A folder is not downloadable.

[Page Top]
7) MAke New Folder

The folder making screen in the figure below opens when "Make Folder" in the upper part of the file list is selected.

"Folder Name":
  The name of the folder is input. Please do not use it as much as possible so that a Japanese folder name might become the origin of the trouble.
"Comment":
  The explanation of the folder is filled in. There is no problem even if Japanese is used.
"Create User":
  The create user name is filled in. There is no problem even if Japanese is used. It doesn't care in an empty column by the data used for the file list only to display it either.
"Create Date":
  The date now enters by default. The change is also possible.
"Create Time":
  Time now enters by default. The change is also possible.

When "Create" button is pushed, the folder is made.
[Page Top]
8) Movement to subfolder

To move to the subfolder (The content of the subfolder is displayed the list), the icon in the file name of the subfolder or the left end is clicked.
The figure below is a file list screen in the subfolder.

The link to a upper folder is set in the first line in the subfolder.
To move to a upper folder, the name of an icon or a upper folder is clicked.
[Page Top]
9) Edit

When "Edit" icon of the file list is selected, the edit display of the figure below is displayed.

"FileName":
  When the file name is changed, an actual file name in the filesystem is changed.
"Comment":
  Refer to "Upload"
"Create User":
  Refer to "Upload"
"Owner Name":
  The user who registered by "User and Group Setting" can be set.
"Belong Group":
  The group that registers by "User and Group Getting" can be set.
"Create Date":
  Refer to "Upload"
"Create Time":
  Refer to "Upload"
"File Change Attr":
  The permission of the file is changed.
  In the permission specified here, the user and group which were specified into the "Owner Name" and the "Belong Group" are used. However, since execution account of the script is the execution account on a HTTP server, it is not reflected in the permission of the file of OS.
  The permission at the time of this script treating a file to the last is only set up.

[PAge Top]
10) Delete

When "Delete" icon of the file list is selected, the deletion confirmation screen in the figure below is displayed.

It returns to the file list when the link of "Back to file list" is selected.

When "Delete" button is selected, the file is actually deleted.

It returns to the file list when "Cancel" button is selected.

[Page Top]
11) Copy, Cut, Paste

A "Copy", "Cut", and "Paste" are movements of a file and the functions of a copy which use a "Cut Buffer."
If it clicks on the icon of a "Copy" or "Cut" in the line of the target file, the file (or folder) will be copied or moved to a cut buffer.
no cut buffers are not displayed when going into inside, but if a file is alike to a cut buffer, it will be displayed on the upper part of a file list. (The following figure)

"Copy":
  Selection of an icon will copy the file (folder) of the line to a cut buffer.
  Two or more files and folders can be copied to a cut buffer.
"Cut":
  Selection of an icon will move the file (folder) of the line to a cut buffer. (The file of a yuan is deleted)
  Within a cut buffer, there is no distinction of the file put in by the copy and the file put in by cut.
"Paste":
  Selection of "Paste" icon of a cut buffer will move the file (folder) of the line to the folder of the file list currently displayed from the cut buffer. (The file of a cut buffer is deleted)

Directions for use :

First, it clicks on the cut (or copy) icon of the file which moves (or copy), and puts into a cut buffer.

Next, the folder currently displayed is moved to the target folder.

To the last, it is a file of the purpose of a cut buffer. "Paste" It clicks on an icon and a file is stuck on the folder of a movement (or copy) place.

[Page Top]

Copyright (c) 2004-2014 GUSUKU All rights reserved.

Back