Software for transferring files etc.
Most webmasters are used to uploading files using a FTP client, and in addition to that they might access the server of their ISPs via telnet. However, to do these things at gunnar.cc, you have to make use of SCP and SSH instead.
Below you will find software that can be downloaded,
and installed to make it all work.
SSH access to the gunnar.cc shell server
(instead of telnet)
One well-known terminal emulator that works fine is Tera Term Pro ver. 2.3, available
Tera Term Home Page, together with the SSH extension TTSSH,
available at the
TTSSH home page (When staring a new connection select SHH under Service).
Note: You will probably not have to use this program, seeing that it uses Unix Commands which you may know nothing about, but it can be used to set file permissions for a directory for example with the following command:
chmod g+w /var/www/vhosts/webringworld.org/tmp/content/wow-team
This allows all developers to access that directory
(You can use WinSCP to set web page permissions by clicking F9).
Another use would be to unzip a zip folder:
then enter unzip wow.zip
The host name is gunnar.user.openhosting.com
A tip for your convenience: When logging in, you start in your personal home directory on the shell server. To create a symbolic link, that points to the WOW tmp directory, run this command:
- ln -s /var/www/vhosts/webringworld.org/tmp NEW-WOW
This creates a link named NEW-WOW, which works like a shortcut to the WOW tmp directory.
Upload files via SCP (instead of FTP)
WinSCP, which works exactly like a FTP client (drag and drop files, and...), serves its purpose very well. WinSCP 3 lets you control the file transfer mode, and both the remote and local home directories can be saved in the session settings. As regards updating previously uploaded script or HTML files, these options should typically be selected:
The host name is gunnar.user.openhosting.com
- Transfer mode: Text
- Change case to: No change
- Attributes: Uncheck the Set permissions and Preserve timestamp options
You can save these settings by checking the Use same settings next time option.
See WinSCP FAQ section for further clarification.
For this you are recommended to use the compiled WinCvs, available at CvsGui.org.
You need to download a matching SSH client, too.
ssh-1.2.14-win32bin.zip has proved to work with WinCvs. Just create the directory
C:\ssh and extract the files to that directory.
After the installation of WinCvs, select Admin / Preferences
from the menu and note
- In the General tab:
- Authentication: ssh Settings: check SSH client, and enter C:\ssh\ssh.exe
- Path: /usr/local/cvsroot/wow
- Host Address: gunnar.cc
- User name: YOUR-USERNAME
- CVSROOT: (will be entered for you as you enter the above info)
- In the Globals tab:
- Uncheck the Checkout read-only option
- If you are using a editing tool that saves text files on your hard disk in Unix format (even if you are on a Windows box), then you can check the Checkout text files with the Unix LF (0xa) option.
- In the WinCvs tab:
- Set the HOME folder to C:\ssh
Now, whenever the program needs to talk to the CVS repository, a MS-DOS
opened and you are prompted to enter your gunnar.cc password.
The WOW CVS repository can be viewed at:
To contribute to the WOW project with source code changes, or
updates to the WOW website using CVS, you should do the following:
- Checkout the htdocs module:
- Click Remote on the top menu bar, then click Checkout module.
- Type: htdocs where it asks for the module name and path on server.
- Select the folder where you want to save your working copy of the module.
- Click OK.
- A MS-DOS window should open. Switch to that window.
- You will then be prompted to enter your password.
Type your gunnar.cc password, and then press Enter on your keyboard.
- Update your files and folders on a regular basis so as to be up to date on the latest WOW project developments, whether that be with the WOW program or the WOW Website files. To do so just right click on the file or folder you wish to update, and then select Update selection.
- Adding files:
- To add a new file click Modify on the top menu bar and select Add selection for text files, and Add selection binary for gif/jpg files.
- Commit files.
- Once a file has been either added or updated by you, you would then right click on it, and select Commit selection. Note: If you dont have the latest version of that file you will not be allowed to commit that file until its been updated!
- If this is a website file you would then upload it to the WOW website using WinSCP after you had first successfully committed it.
Note: You can not commit a updated file if you do not have the latest version of that file. So always update the WOW module before updating a WOW file with your revisions or new material.