Important FTP commands.

FTP is a widely used among webmasters who are trying to copy move files from one location to other. Its a general protocol which can be worked on UNIX as well as other (non-UNIX) systems. You can easily access any remote machine which is thousands of miles apart..  Initially you will have to know the name of machine or its IP address so that you can connect to it. Usually you would be suing FTP for accessing your web server where your account is hosted so that you can upload all your webfiles.
There are many FTP commands which you should be aware of so that you can manage your data transfer process easily.
Firstly you will have to use following command so that your local machine can get connected to remote machine.
To connect use : ftp machinename  or machinenumber.
Once you get login to your FTP session you can use following commands which could be helpful for you.

Binary :  if you want to copy files in binary mode.

Cd :  Change directory on the FTP server

Dir :  List the names of the files in the current remote directory :

Exit : If you want to exit from FTP then use this command

Get :  Get a file from the FTP server

Lcd :  Change the directory on the local machine

Ls :  Same as dir

Mget ;  Same as get, but you can use wildcards like “*”

Mput :  Same as put, but you can use wildcards like “*”

Passive :  Make the file transfer passive mode

Put :  Put a file from the local machine onto the FTP server

Pwd :  Give the directory name on the local machine.
Following commands would be helpful for better file management.

Posted under WHM cpanel Hosting, cPanel account Hosting

This post was written by on February 9, 2009

Tags: , ,