Connect FTP Via Command Prompt On Windows

This is an old method. Most person have FTP Clients like Filezilla or WS-FTP or CuteFTP to connect ftp servers. But what if there is an emergency and you have none of them. So here all you gonna need.

HOW TO CONNECT FTP VIA COMMAND PROMPT IN WINDOWS

1. First of all open command prompt by following “Start > All Programs > Accessories > Command Prompt” or simply use keyboard shurtcut “Windows + R” ( Sheme 1 )

2. Type “ftp” and press “Enter” ( Sheme 1 )

Sheme 1

Sheme 1

3. Following screen will prompt to “ftp>”, so now we can use ftp commands to access our server. To open a connection we use “open” command. Type “open” and press “Enter” ( Sheme 2 )

Sheme 2

Sheme 2

4. Now Ftp Prompt says “to”. This means you’ve to put destination here. Put the destination to your ftp server end press “Enter”. Ex: ftp.example.com ( Sheme 3 )

Sheme 3

Sheme 3

5. Now check out Sheme 3 and see prompt asks for username. Put your Ftp Username and press “Enter” and of course password and press “Enter”

P.S. If something goes wrong with login you can always go back to login part with command “user” ( Sheme 4)

6. And we have accessed to our FTP Server. ( Sheme 4)

Sheme 4

Sheme 4

Basic commands explained below:

“dir” : Basic DOS listing command.

“ls” : Similar to DOS command “dir”. Lists files for current directory without details.

“cd” : To change current directory with another one

“cd ..” : Up one directory ( DO NOT forget “blank” between “cd”  and “..” )

“send” : Uploads a file from local to server

“get” : Download file from server to local

“bye” : Disconnects from server and quits FTP Prompt

A full list for Ftp commands will be in next chapter.

Hope will be usefull for all.