Pages

Thursday 22 August 2013

Download from FTP site using CMD

  Download from FTP site using CMD




Hey friends this is first post and today i am going to show you how to download from FTP site without using any web browser. All you need is just 

Requirments:

1.A system
2.Net connection and
3.little patience.

Why use CMD ???

The first question that would pop into any ones mind is why use CMD when we browser ? Well to explain you that guys i have to tell you about my friend. My friend used to work in a company where all the web browsers in his computer were restricted to the account he uses by using parental controls and he can't download a file. So when ever he tried to access a browser he got something like this




He told me how annoying that was. No access to internet is really annoying. So i thought of helping him. So i checked the internet for a long time and finally found a solution to his problem. Using CMD which the adminstrator can't disable through parental controls. I told him that and he is happy to hear the solution to his problem. And if anyone finds this post useful i'll be glad to hear so please comment below. Also if you have anything to say please comment below. I'll be glad to hear.

Steps:

1. Press start and type in "cmd" and open it or press win+r and type "cmd" and press enter.

   

2.Now when the CMD opens type "chdir" and press enter.

  

3.The CMD shows the present folder you are in. Remember it and now type ftp in CMD and press enter.


 The CMD opens the ftp access. You can see the change in above picture. Now we need to connect to a ftp site from which we want to download the file.

4.So type in "open" and press enter. CMD will say "to". Now type in the URL of the ftp site. In this case i am using "archive.ubuntu.com". It's a ubuntu archives website containing updates. Note: Using "ftp://" is not required infront of the URL.



5.If a connection is established then CMD will diplay that the connection is establised. If not it say so and this could be because of internet com=nnection problems or url typo errors or server problems.


 Now if it says connected to as in above picturre then you can proceed.

6.Most ftp sites asks for username and passwords. But don't worry, mostly these ftp sites have anonymous access. Means it doesn't need password. Just type in "anonymous" and press enter.

7.It asks for password just press enter without typing anything. If you get access then you can download from the site. If you have a username and password for the site you can login using them. If anonymous doesn't work then it maybe because the site doesn't allow unknown users or there is a typo error. Check it.

8.If you got access then the CMD will print out the details as shown below.


9.Now you are in the ftp site. Now type "ls" and press enter. You'll be given the list of the files and folders in it.

 If you find the file you want in that folder then skip to step . But if the file is in one of the folders in the present folder then continue the steps.

10.Now look for the folder you want to open and now type "cd (name of the folder)" and press enter as shown in below picture.


11.Now the CMD will say directory successfully changed. Now ls again and look for the files.


 Now follow the same procedure of ls and cd till you reach the folder you want.





12.Now if you find the file, type "get" and press enter.


13.When asked for remote file type in the name of the file you want to download and press enter.

14.When asked for local file leave it blank and press enter.

15.When the download is complete the CMD will print out that it is done.



 Now the file download starts. Want for the download, it will get downloaded to the folder you are presently in your computer in CMD. Means the folder that the CMD printed out when we typed "chdir" at the begining. Now wait for the download and when it is completed you can use it.

 Note: You can't see the file in the folder that it is getting downloaded to, until it is completely downloaded. While downloading you can see it as a temporary file as shown in below picture.



  So that's it guys I hope you find the post useful. If you have any suggestions please comment below. I'll be back with more posts, maybe soon.

No comments:

Post a Comment