• Go to the client machine and check the ftp package is installed or not
Package Arch Version Repository Size
ftp x86_64 0.17-53.el6 ithonours-repo 58 k
Install 1 Package(s)
Total download size: 58 k
Installed size: 95 k
Is this ok [y/N]: y
Running Transaction Test
Transaction Test Succeeded
Installing : ftp-0.17-53.el6.x86_64 1/1
Verifying : ftp-0.17-53.el6.x86_64 1/1
• Now connect to the ftp server using the ip address .
Use the user name as ftp for logging as an anonymous user.
It asks for password doesn’t give the password and press enter.
• After this we entered into the /var/ftp of the server.
To download the file the command is get file_name
• To see whether the file is downloaded or not do as follows
|?||to request help or information about the FTP commands|
to set the mode of file transfer to ASCII
|binary||to set the mode of file transfer to binary|
(the binary mode transmits all eight bits per byte and thus provides less chance of a transmission error and must be used to transmit files other than ASCII files)
|bye||to exit the FTP environment (same as quit)|
|cd||to change directory on the remote machine|
to terminate a connection with another computer
closes the current FTP connection with brubeck,
|delete||to delete (remove) a file in the current remote directory (same as rmin UNIX)|
to copy one file from the remote machine to the local machine
get ABC DEF:
copies file ABC in the current remote directory to (or on top of) a file named DEF in your current local directory.
copies file ABC in the current remote directory to (or on top of) a file with the same name, ABC, in your current local directory.
|help||to request a list of all available FTP commands|
|lcd||to change directory on your local machine (same as UNIX cd)|
|ls||to list the names of the files in the current remote directory|
|mkdir||to make a new directory within the current remote directory|
to copy multiple files from the remote machine to the local machine;
copies all the files in the current remote directory to your current local directory, using the same filenames. Notice the use of the wild card character, *.
to copy multiple files from the local machine to the remote machine;
to open a connection with another computer
opens a new FTP connection with brubeck;
|put||to copy one file from the local machine to the remote machine|
|pwd||to find out the pathname of the current directory on the remote machine|
|quit||to exit the FTP environment (same as bye)|
|rmdir||to to remove (delete) a directory in the current remote directory|