Ftp stands for file transfer protocol.It is used to send and receive files from a remote server. There are many software online and offline for ftp access but they make our work much easier, simpler and boring. Moreover you don’t get the real working behind ftp.
In this post I am going to tell you how to use your command prompt for accessing any ftp site. And believe me it works better as any other GUI ftp software and you also learn the real working to ftp and some basics code for it.
So here we begin:
- Click Start-Run and type “cmd” there.
- Now command prompt will open
- Just type “ftp” there and you will be in ftp mode. It will look like this :ftp>
- In next line type o followed by name or ip of the site you want to connect.Like e.g. “o yoursite.com” or “o 184.108.40.206” of course without double quotes.
- Now you will see the cmd sending request and showing welcome message from the site.
- It will prompt for your username. Type your username provided by administrator or your service provider.
- Then it will check that username exists or not. If yes then it will prompt for password.
- Type your password. NOTE that you can’t see the password being typed but don’t worry just type correct combination and press enter.
- Now you have logged into ftp account and the site is yours.(if you have all modification rights or you are only the owner of site:-))
- After logging in you need certain command for editing files in your ftp account.
Here are few very basics command used in ftp , for more of them please click here.Dir- it shows are the directory( folder ) in your ftp account. just type dir and all folders are shown.
- Get – this command is used to download any file from remote server. e.g get file name
- Put– it is used to send or put (as name suggest) any file to remote server. e.g put file path
- Delete– used to delete file from the account
- Cd– this command is used to switch between folders. e.g cd folder name
- Close– it closes the current ftp session to start a new one.
For more ftp commands please click here.