In Feburary 2016 30,
Open a command prompt window on a Windows computer or a terminal window on a Linux computer.
Type the command 'ftp hostname' to log into the FTP server. Replace 'hostname' with the host name or IP address of the FTP server.
Type the command 'delete dir_name/*' to delete the files within the directory. Replace 'dir_name' with the name of the directory that you want to delete.
Type the command 'rmdir dir_name' to remove the directory.
Type the command 'quit' to close the FTP session.
In Feburary 2016 30,
Showing posts with label hostname. Show all posts
Showing posts with label hostname. Show all posts
Tuesday, 1 March 2016
Friday, 26 February 2016
How to Post a Web PageIn Feburary 2016 26,
In Feburary 2016 26,
Determine where you would like to post the web page. You will need a web hosting service account. Three popular web hosting services include Go Daddy, bluehost and 1&1 (see Resources).
Determine the details of your account, including the hostname (the machine that that you will upload files to), your username, password and URL address.
Establish a connection to the Internet via a local area connection or wireless connection.
Open an FTP program such as FileZilla or CoreFTP, which are available for free download.
Enter your hostname, username and password of your website in the FTP program.
Locate the web page you would like to post. Click 'Browse' from the FTP program, navigate to the file and click to select it.
Click the option to transfer the web page to the hosting provider.
In Feburary 2016 26,
Determine where you would like to post the web page. You will need a web hosting service account. Three popular web hosting services include Go Daddy, bluehost and 1&1 (see Resources).
Determine the details of your account, including the hostname (the machine that that you will upload files to), your username, password and URL address.
Establish a connection to the Internet via a local area connection or wireless connection.
Open an FTP program such as FileZilla or CoreFTP, which are available for free download.
Enter your hostname, username and password of your website in the FTP program.
Locate the web page you would like to post. Click 'Browse' from the FTP program, navigate to the file and click to select it.
Click the option to transfer the web page to the hosting provider.
In Feburary 2016 26,
Friday, 12 February 2016
How to Connect PHP to MySQL Using WAMPIn Feburary 2016 12,
In Feburary 2016 12,
Launch a plain text editor, such as the Notepad, and create a new file.
Enter the script to connect PHP to a MySQL database by passing the hostname, username and password. For example, type:<?php
mysqli_connect('localhost', 'username', 'password') or die('Connection failed! ' . mysqli_error());
echo 'Connection successful!';
?>
Save the file as 'connect.php' and place it in the 'htdocs' directory for your WAMP implementation.
Test the connection by opening
connect.php in a Web browser and confirm that the connection was successful.
In Feburary 2016 12,
Launch a plain text editor, such as the Notepad, and create a new file.
Enter the script to connect PHP to a MySQL database by passing the hostname, username and password. For example, type:<?php
mysqli_connect('localhost', 'username', 'password') or die('Connection failed! ' . mysqli_error());
echo 'Connection successful!';
?>
Save the file as 'connect.php' and place it in the 'htdocs' directory for your WAMP implementation.
Test the connection by opening
connect.php in a Web browser and confirm that the connection was successful.
In Feburary 2016 12,
Monday, 8 February 2016
How to Remove a File From an FTP SiteIn Feburary 2016 08,
In Feburary 2016 08,
Click the Start button and click 'Run' to open a Run command box.
Type 'command' in the Run box, and press 'Enter.' Doing so will open a command prompt window.
Type 'ftp' in the command prompt window, followed by either the hostname or IP address of the FTP site you wish to log in to. If the site requires a user name and password for access, then you will be prompted to enter your login information.
Type 'cd' followed by the name of the directory on the FTP server that contains the file that you wish to delete.
Type 'delete,' followed by the name of the file that you wish to delete off the remote server. If the FTP site administrator has provided you with the appropriate file permissions to delete the file, then the file will be permanently removed from the server. If you don't have appropriate permissions to delete files on the server then you'll need to contact the FTP site's administrator for permission.
Type 'bye', and press 'Enter' to end your FTP connection.
In Feburary 2016 08,
Click the Start button and click 'Run' to open a Run command box.
Type 'command' in the Run box, and press 'Enter.' Doing so will open a command prompt window.
Type 'ftp' in the command prompt window, followed by either the hostname or IP address of the FTP site you wish to log in to. If the site requires a user name and password for access, then you will be prompted to enter your login information.
Type 'cd' followed by the name of the directory on the FTP server that contains the file that you wish to delete.
Type 'delete,' followed by the name of the file that you wish to delete off the remote server. If the FTP site administrator has provided you with the appropriate file permissions to delete the file, then the file will be permanently removed from the server. If you don't have appropriate permissions to delete files on the server then you'll need to contact the FTP site's administrator for permission.
Type 'bye', and press 'Enter' to end your FTP connection.
In Feburary 2016 08,
Friday, 5 February 2016
How to Transfer File via SSH Shell AccessIn Feburary 2016 05,
In Feburary 2016 05,
Open the SSH Access client. If you have not installed an SSH client, there are many available. PuTTY is the most notable, freely available terminal emulation programs available.
Connect to your remote server. In a graphical environment, this will simply be a matter of clicking connect and entering the appropriate hostname. In the instance of PuTTY, you'll have to manually open an SFTP session by typing 'psftp [hostname]' where '[hostname]' is the name or IP address of the server you want to connect to.
Enter your username and password as necessary. You may have to coordinate this with the network administrator.
Initiate the file transfer. Depending on whether you have a graphical interface or PuTTY's command line interface will change how you initiate the transfer. In PuTTY, you'll want to utilize the commands 'put [local filename] [remote filename]' (upload) and 'get [remote filename] [local filename]'. In an GUI, you'll simply click and drag files between the local and remote machine.
Close the connection. To remain in the program, but terminate the session, type 'close'. To exit out entirely, type 'quit'.
In Feburary 2016 05,
Open the SSH Access client. If you have not installed an SSH client, there are many available. PuTTY is the most notable, freely available terminal emulation programs available.
Connect to your remote server. In a graphical environment, this will simply be a matter of clicking connect and entering the appropriate hostname. In the instance of PuTTY, you'll have to manually open an SFTP session by typing 'psftp [hostname]' where '[hostname]' is the name or IP address of the server you want to connect to.
Enter your username and password as necessary. You may have to coordinate this with the network administrator.
Initiate the file transfer. Depending on whether you have a graphical interface or PuTTY's command line interface will change how you initiate the transfer. In PuTTY, you'll want to utilize the commands 'put [local filename] [remote filename]' (upload) and 'get [remote filename] [local filename]'. In an GUI, you'll simply click and drag files between the local and remote machine.
Close the connection. To remain in the program, but terminate the session, type 'close'. To exit out entirely, type 'quit'.
In Feburary 2016 05,
Subscribe to:
Posts (Atom)